init(api): add user update handler

This commit is contained in:
2025-01-06 17:15:41 +03:00
parent a6e9665413
commit f94fc2ad9a
2 changed files with 61 additions and 0 deletions
+2
View File
@@ -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)