♻️ set approval & blocked work in tandem

This commit is contained in:
Fred KISSIE
2026-01-15 01:33:52 +01:00
parent c910a715bd
commit fb51f42f35
2 changed files with 11 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ export async function unblockClient(
// Unblock the client
await db
.update(clients)
.set({ blocked: false })
.set({ blocked: false, approvalState: null })
.where(eq(clients.clientId, clientId));
return response(res, {