init(api): add user update handler
This commit is contained in:
@@ -21,6 +21,8 @@ func RegisterRoutes(r *gin.Engine) {
|
||||
api := r.Group("/api")
|
||||
{
|
||||
api.POST("/auth", userAuth)
|
||||
api.PATCH("/auth", userUpdate)
|
||||
|
||||
api.GET("/quotes", quotesGet)
|
||||
api.POST("/quotes", quoteAdd)
|
||||
api.GET("/quotes/:id", quoteGet)
|
||||
|
||||
Reference in New Issue
Block a user