Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe authored Dec 18, 2024
1 parent d26aba8 commit 2c2175e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/actions/CreateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ class CreateAction extends JsonApiAction
* $relatedModels = Relation::find()->where(['id' => $ids])->andWhere([additional conditions])->all();
* if(count($relatedModels) < $ids) {
* throw new HttpException(422, 'Invalid photos ids');
* }},
* }
* },
* ]
**/
*/

public $allowedRelations = [];

Expand Down

0 comments on commit 2c2175e

Please sign in to comment.