Skip to content

Commit

Permalink
Fix: warn the frontend when they try to send us a wrong form_id for s…
Browse files Browse the repository at this point in the history
…tages in post requests
  • Loading branch information
rowasc committed Jun 28, 2020
1 parent 06e676d commit 0d26734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v4/Models/Post.php
Expand Up @@ -220,6 +220,9 @@ public function getRules()
]
)
],
'post_content.*.form_id' => [
'same:form_id'
],
'locale',
'post_date'
];
Expand Down

0 comments on commit 0d26734

Please sign in to comment.