Refactor: Improve readability

This commit is contained in:
syuilo⭐️ 2017-01-14 06:05:02 +09:00 committed by GitHub
parent ce696452be
commit ba7aac2883

View file

@ -35,6 +35,7 @@ export default async (endpoint: IEndpoint, req: express.Request, res: express.Re
try {
await limitter(endpoint, ctx); // Rate limit
} catch (e) {
// drop request if limit exceeded
return reply(429);
}
}