1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 13:16:45 +02:00

feat(shortcodes): update fetch shortcode

This commit is contained in:
Awilum
2022-08-30 21:05:22 +03:00
parent b794e64386
commit 05969fa064

View File

@@ -66,7 +66,7 @@ parsers()->shortcodes()->addHandler('fetch', static function (ShortcodeInterface
})->undot()->toArray();
// Backup current entry data
$original = entries()->registry()['methods.fetch'];
$original = entries()->registry()->get('methods.fetch');
// Do fetch the data from the resource.
$result = fetch($resource, $options);