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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user