Skip to content

Commit 6418c8a

Browse files
committed
test: experiementing to test the uat workflow
1 parent 940354b commit 6418c8a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/backend/src/routes/cards.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export async function cardRoutes(app: FastifyInstance): Promise<void> {
9797
if (!parsed.success) {return reply.status(400).send({ error: 'Validation failed', details: parsed.error.flatten() })}
9898
const updated = await cardService.updateCard(app, userId, id, parsed.data)
9999
if (!updated) {return reply.status(404).send({ error: 'Card not found' })}
100+
console.log(updated)
100101
return updated
101102
} catch (error: any) {
102103
if (error?.code === 'OWNERSHIP') {return reply.status(403).send({ error: 'One or more links do not belong to your account' })}

0 commit comments

Comments
 (0)