Skip to content

Commit

Permalink
make that a post
Browse files Browse the repository at this point in the history
  • Loading branch information
monoxane committed Apr 12, 2023
1 parent 602fbda commit 3526ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func NewRESTServer() *gin.Engine {

api := server.Group("/api/v1")

api.GET("/login", handleAuth)
api.POST("/login", handleAuth)

users := api.Group("/users")
users.Use(auth.JWTMiddleware())
Expand Down

0 comments on commit 3526ddb

Please sign in to comment.