Skip to content

Commit

Permalink
πŸ‘” server: set new card limits
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 20, 2024
1 parent 4c7c2c3 commit a30db82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default app
last: inquiry.attributes["name-last"],
},
phone: { countryCode: phone.countryCallingCode, number: phone.nationalNumber },
limits: { daily: 1000, weekly: 3000, monthly: 5000 },
limits: { daily: 5000, weekly: 10_000, monthly: 30_000 },
});
await database.insert(cards).values([{ id: card.id, credentialId, lastFour: card.last4 }]);
return c.json({ url: await getPAN(card.id), lastFour: card.last4, status: card.status }, 200); // TODO review if necessary
Expand Down

0 comments on commit a30db82

Please sign in to comment.