From 616a151764fd1780eb0b6dc039d5a21539a8a01a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Sep 2023 00:19:03 +0530 Subject: added login with id --- auth/router.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auth/router.go') 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) } } -- cgit v1.2.3