feat: find api service by id
This commit is contained in:
@ -11,6 +11,11 @@ WHERE client_id = $1
|
||||
AND is_active = true
|
||||
LIMIT 1;
|
||||
|
||||
-- name: GetApiServiceId :one
|
||||
SELECT * FROM api_services
|
||||
WHERE id = $1
|
||||
LIMIT 1;
|
||||
|
||||
-- name: ListApiServices :many
|
||||
SELECT * FROM api_services
|
||||
ORDER BY created_at DESC;
|
||||
|
Reference in New Issue
Block a user