Skip to content

Commit cb950a2

Browse files
committed
Merge pull request #35 from Kasper24/formatting
format: add trailing commas
2 parents 0e66f77 + 941c175 commit cb950a2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/backend/src/modules/auth/auth.route.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ authRouter.post(
2828
"/otp/send",
2929
sendOtpLimiter,
3030
validateHandler(sendOtpSchema),
31-
sendOtpController
31+
sendOtpController,
3232
);
3333

3434
const verifyOtplimiter = rateLimitHandler({
@@ -40,20 +40,20 @@ const verifyOtplimiter = rateLimitHandler({
4040
authRouter.post(
4141
"/otp/status",
4242
validateHandler(statusOtpSchema),
43-
checkOtpStatusController
43+
checkOtpStatusController,
4444
);
4545

4646
authRouter.post(
4747
"/otp/verify",
4848
verifyOtplimiter,
4949
validateHandler(verifyOtpSchema),
50-
verifyOtpController
50+
verifyOtpController,
5151
);
5252

5353
authRouter.get(
5454
"/refresh-token",
5555
validateHandler(refreshTokenSchema),
56-
refreshTokenController
56+
refreshTokenController,
5757
);
5858

5959
authRouter.get("/logout", logoutController);

apps/backend/src/modules/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313

1414
const twilioClient = twilio(
1515
process.env.TWILIO_ACCOUNT_SID,
16-
process.env.TWILIO_AUTH_TOKEN
16+
process.env.TWILIO_AUTH_TOKEN,
1717
);
1818

1919
const sendOtp = async (phoneNumber: string) => {

0 commit comments

Comments
 (0)