task claimed count on going

This commit is contained in:
xiaomlove
2024-08-09 21:40:00 +08:00
parent d1fd7f63ff
commit 9b83793c93
3 changed files with 4 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ class Exam extends NexusModel
return $this->belongsToMany(User::class, "exam_users", "exam_id", "uid");
}
public function OnGoingUsers()
public function onGoingUsers()
{
return $this->users()->wherePivot("status", ExamUser::STATUS_NORMAL);
}