1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 13:46:42 +02:00

feat(media): updates for IdField

This commit is contained in:
Awilum
2021-08-09 13:51:33 +03:00
parent 787908d689
commit ba7a1d1186

View File

@@ -17,5 +17,5 @@ emitter()->addListener('onMediaFetchSingleHasResult', static function (): void {
return;
}
media()->registry()->set('fetch.data.id', (string) strings(media()->registry()->get('fetch.id'))->trimSlashes());
media()->registry()->set('fetch.data.id', strings(media()->registry()->get('fetch.id'))->trimSlashes()->toString());
});