|
|
@@ -21,6 +21,7 @@ class CourseMemberResource extends JsonResource
|
|
|
"course_id"=> $this->course_id,
|
|
|
"role"=> $this->role,
|
|
|
"user"=> UserApi::getById($this->user_id),
|
|
|
+ "status"=> $this->status,
|
|
|
"created_at"=> $this->created_at,
|
|
|
"updated_at"=> $this->updated_at,
|
|
|
];
|