feat: activate api service query

This commit is contained in:
2025-06-03 00:05:20 +02:00
parent 5024ac8151
commit d4e2cbdd4f
2 changed files with 18 additions and 0 deletions

View File

@ -38,6 +38,12 @@ SET is_active = false,
updated_at = NOW()
WHERE client_id = $1;
-- name: ActivateApiService :exec
UPDATE api_services
SET is_active = true,
updated_at = NOW()
WHERE client_id = $1;
-- name: UpdateClientSecret :exec
UPDATE api_services
SET client_secret = $2,