Skip to content

Commit

Permalink
Fixed typo in FieldDefinitionCreate Content-Type header (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk authored Nov 13, 2023
1 parent 5bf9d5c commit 08ef415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services/rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
Ibexa\AdminUi\REST\Input\Parser\ContentType\FieldDefinitionCreate:
parent: Ibexa\Rest\Server\Common\Parser
tags:
- { name: ibexa.rest.input.parser, mediaType: application/vnd.ibexa.api.ContentTypFieldDefinitionCreate }
- { name: ibexa.rest.input.parser, mediaType: application/vnd.ibexa.api.ContentTypeFieldDefinitionCreate }

Ibexa\AdminUi\REST\Input\Parser\ContentType\FieldDefinitionDelete:
parent: Ibexa\Rest\Server\Common\Parser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
add: {
actionName: 'add_field_definition',
method: 'POST',
contentType: 'application/vnd.ibexa.api.ContentTypFieldDefinitionCreate+json',
contentType: 'application/vnd.ibexa.api.ContentTypeFieldDefinitionCreate+json',
},
remove: {
actionName: 'remove_field_definition',
Expand Down

0 comments on commit 08ef415

Please sign in to comment.