fix teacher and parent routes

This commit is contained in:
root
2026-04-24 02:12:01 -04:00
parent 5128c74892
commit 7216cb2885
36 changed files with 1575 additions and 49 deletions
@@ -8,7 +8,7 @@ class ClassPreparationIndexRequest extends ApiFormRequest
{
public function authorize(): bool
{
return $this->user() !== null;
return $this->user() !== null || auth()->user() !== null;
}
public function rules(): array