Implement per-team API rate limiting with Redis (#164)

This commit is contained in:
KM Koushik
2025-05-19 21:55:10 +10:00
committed by GitHub
parent 14557a96ac
commit 89bf97488e
19 changed files with 125 additions and 41 deletions
@@ -50,7 +50,7 @@ const route = createRoute({
function getContact(app: PublicAPIApp) {
app.openapi(route, async (c) => {
const team = await getTeamFromToken(c);
const team = c.var.team;
await getContactBook(c, team.id);