Skip to content

Commit

Permalink
Update FeedbackRepository.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdianS18 committed Nov 21, 2024
1 parent 70fc1e0 commit b9477e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Contracts/Repositories/FeedbackRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public function where_user_id(mixed $id): mixed

public function getBySubject(mixed $id): mixed
{
return $this->model->query()->whereRelation('lessonSchedule', 'teacher_subject_id', $id);
return $this->model->query()->whereRelation('lessonSchedule', 'teacher_subject_id', $id)->get();
}
}

0 comments on commit b9477e7

Please sign in to comment.