generated from liutk/owl-admin-base
main
parent
eca69c5940
commit
0aedb6c23f
|
|
@ -26,7 +26,7 @@ class ActivityGameController extends ApiController
|
||||||
$q->where('user_id', auth('api')->user()?->id ?? 0);
|
$q->where('user_id', auth('api')->user()?->id ?? 0);
|
||||||
}])
|
}])
|
||||||
->where('activity_id', $activityId)->show()->sort()
|
->where('activity_id', $activityId)->show()->sort()
|
||||||
->simplePaginate(50);
|
->simplePaginate(100);
|
||||||
|
|
||||||
return $this->success(['games'=>ActivityGameResource::collection($games)->resolve()]);
|
return $this->success(['games'=>ActivityGameResource::collection($games)->resolve()]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue