fix: ParentStudentController tidak bisa panggil studentPayloads() yang protected → public
This commit is contained in:
@@ -191,7 +191,7 @@ class ParentAuthController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Daftar anak + status tautan (active/pending) + ringkasan poin & SP.
|
* Daftar anak + status tautan (active/pending) + ringkasan poin & SP.
|
||||||
*/
|
*/
|
||||||
protected function studentPayloads(User $user): array
|
public function studentPayloads(User $user): array
|
||||||
{
|
{
|
||||||
return $user->parentStudents()
|
return $user->parentStudents()
|
||||||
->with('student.class')
|
->with('student.class')
|
||||||
|
|||||||
Reference in New Issue
Block a user