-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imports api: disallow non-array resources
There was a bug where we allowed non-array values within the top level "resources" key of the Import API payload. This caused an exception to be thrown later in the request lifecycle. This bug fix ensures any non-array values fail at the controller layer and return the appropriate error code (ie, 400 Bad Request).
- Loading branch information
1 parent
52aead5
commit 98c9a3c
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters