File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
apps/backend/src/modules/auth Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ authRouter.post(
2828 "/otp/send" ,
2929 sendOtpLimiter ,
3030 validateHandler ( sendOtpSchema ) ,
31- sendOtpController
31+ sendOtpController ,
3232) ;
3333
3434const verifyOtplimiter = rateLimitHandler ( {
@@ -40,20 +40,20 @@ const verifyOtplimiter = rateLimitHandler({
4040authRouter . post (
4141 "/otp/status" ,
4242 validateHandler ( statusOtpSchema ) ,
43- checkOtpStatusController
43+ checkOtpStatusController ,
4444) ;
4545
4646authRouter . post (
4747 "/otp/verify" ,
4848 verifyOtplimiter ,
4949 validateHandler ( verifyOtpSchema ) ,
50- verifyOtpController
50+ verifyOtpController ,
5151) ;
5252
5353authRouter . get (
5454 "/refresh-token" ,
5555 validateHandler ( refreshTokenSchema ) ,
56- refreshTokenController
56+ refreshTokenController ,
5757) ;
5858
5959authRouter . get ( "/logout" , logoutController ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313
1414const twilioClient = twilio (
1515 process . env . TWILIO_ACCOUNT_SID ,
16- process . env . TWILIO_AUTH_TOKEN
16+ process . env . TWILIO_AUTH_TOKEN ,
1717) ;
1818
1919const sendOtp = async ( phoneNumber : string ) => {
You can’t perform that action at this time.
0 commit comments