@ -27,7 +27,7 @@
"drupal/prepopulate" : "^2.2",
"drupal/search_api": "^1.8",
"drupal/token" : "^1.3",
"islandora/chullo": "^1.3",
"islandora/chullo": "dev-update-dependencies",
"islandora/fedora-entity-mapper": "1.x-dev",
"islandora/jsonld": "^2",
"stomp-php/stomp-php": "4.* || ^5"
@ -88,11 +88,7 @@ class Fedora implements FlysystemPluginInterface, ContainerFactoryPluginInterfac
// Construct guzzle client to middleware that adds JWT.
$stack = HandlerStack::create();
$stack->push(static::addJwt($container->get('jwt.authentication.jwt')));
$client = new Client([
$fedora = FedoraApi::createWithHandler($configuration['root'], $stack);
'handler' => $stack,
'base_uri' => $configuration['root'],
]);
$fedora = new FedoraApi($client);
// Return it.
return new static(