Skip to content

Commit

Permalink
Fix getRequestRelationships requiring relationships in primary data
Browse files Browse the repository at this point in the history
  • Loading branch information
nohponex committed Oct 10, 2017
1 parent bd29949 commit 3731338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Base.php
Expand Up @@ -219,7 +219,7 @@ protected static function getRequestRelationships($parameters)
}

//Require data
Request::requireParameters($parameters, ['relationships']);
Request::requireParameters($parameters, ['data']);

//Require data['relationships']
if (isset($parameters->data->relationships)) {
Expand Down

0 comments on commit 3731338

Please sign in to comment.