Browse Source

islandora_iiif: Fix Authorization header syntax.

959-iiif-width-height-caching
Alexander O'Neill 1 year ago
parent
commit
847fb4f3cf
  1. 2
      modules/islandora_iiif/src/IiifInfo.php

2
modules/islandora_iiif/src/IiifInfo.php

@ -110,7 +110,7 @@ class IiifInfo {
try {
$info_json = $this->httpClient->request('get', $iiif_url, [
'headers' => [
'Authorization' => 'bearer ' . $this->jwtAuth->generateToken(),
'Authorization' => 'Bearer ' . $this->jwtAuth->generateToken(),
],
])->getBody();
$resource = json_decode($info_json, TRUE);

Loading…
Cancel
Save