Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/api/oauthserver/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ func (s *Server) OAuthServerClientList(w http.ResponseWriter, r *http.Request) e
ctx := r.Context()
db := s.db.WithContext(ctx)

// TODO(cemal) :: Add pagination, check the `/admin/users` endpoint for reference
var clients []models.OAuthServerClient
if err := db.Q().Where("deleted_at is null").Order("created_at desc").All(&clients); err != nil {
return apierrors.NewInternalServerError("Error listing OAuth clients").WithInternalError(err)
Expand Down
Loading