Implement per-team API rate limiting with Redis (#164)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user