Skip to content

Commit

Permalink
Merge pull request #17 from ibexa/ibx-2007-media-types
Browse files Browse the repository at this point in the history
IBX-2007: Rebranded REST media types in ibexa/fieldtype-richtext repository
  • Loading branch information
Nattfarinn authored Jan 25, 2022
2 parents 755bfc3 + b61a041 commit 96afcd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class IbexaEmbedImageEditing extends Plugin {
const request = new Request(variationHref, {
method: 'GET',
headers: {
Accept: 'application/vnd.ez.api.ContentImageVariation+json',
Accept: 'application/vnd.ibexa.api.ContentImageVariation+json',
'X-Siteaccess': siteaccess,
'X-CSRF-Token': token,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const findContent = ({ token, siteaccess, contentId, limit = 1, offset =
const request = new Request('/api/ezp/v2/views', {
method: 'POST',
headers: {
Accept: 'application/vnd.ez.api.View+json; version=1.1',
'Content-Type': 'application/vnd.ez.api.ViewInput+json; version=1.1',
Accept: 'application/vnd.ibexa.api.View+json; version=1.1',
'Content-Type': 'application/vnd.ibexa.api.ViewInput+json; version=1.1',
'X-Siteaccess': siteaccess,
'X-CSRF-Token': token,
},
Expand Down

0 comments on commit 96afcd8

Please sign in to comment.