aboutsummaryrefslogtreecommitdiff
path: root/auth/router.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 00:19:03 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 00:19:03 +0530
commit616a151764fd1780eb0b6dc039d5a21539a8a01a (patch)
tree454f73e06880c3635c3f88a5787fd8fbc1c2b363 /auth/router.go
parent65cb3603ad2682deacff47a72d9050e584a00488 (diff)
added login with id
Diffstat (limited to 'auth/router.go')
-rw-r--r--auth/router.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/router.go b/auth/router.go
index 4a0bb94..b8d5b0d 100644
--- a/auth/router.go
+++ b/auth/router.go
@@ -24,6 +24,7 @@ import (
func Routes(route *gin.RouterGroup) {
g := route.Group("/auth")
{
- g.POST("/sign-in", handleSignIn)
+ g.POST("/signup", handleSignUp)
+ g.POST("/signin", handleSignIn)
}
}