Skip to content

Commit e795f2d

Browse files
delete_threads param validation when banning user
1 parent 67a3217 commit e795f2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Requests/BanRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function rules(): array
1515
{
1616
return [
1717
'reason' => 'required|string',
18+
'delete_threads' => 'required|boolean',
1819
];
1920
}
2021

0 commit comments

Comments
 (0)