feat: modify fields for updation

This commit is contained in:
2025-05-31 23:19:30 +02:00
parent 45bce711f2
commit bce775f692
2 changed files with 15 additions and 11 deletions

View File

@ -24,9 +24,10 @@ ORDER BY created_at DESC;
UPDATE api_services
SET
name = $2,
redirect_uris = $3,
scopes = $4,
grant_types = $5,
description = $3,
redirect_uris = $4,
scopes = $5,
grant_types = $6,
updated_at = NOW()
WHERE client_id = $1
RETURNING *;