init(api): add user logout handler

This commit is contained in:
2025-01-06 18:43:12 +03:00
parent 3327dc6f18
commit 7d38326112
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ func RegisterRoutes(r *gin.Engine) {
api.POST("/auth", userAuth)
api.GET("/auth", userGet)
api.PATCH("/auth", userUpdate)
api.DELETE("/auth", userLogout)
api.GET("/quotes", quotesGet)
api.POST("/quotes", quoteAdd)