perf(web): add pagination
and remove getting total quotes count
This commit is contained in:
@@ -26,7 +26,6 @@ func RegisterRoutes(r *gin.Engine) {
|
||||
api.DELETE("/auth", userLogout)
|
||||
|
||||
api.GET("/quotes", MiddlewareAuth, quotesGet)
|
||||
api.GET("/quotes/count", MiddlewareAuth, quotesCount)
|
||||
api.POST("/quotes", MiddlewareAuth, quoteAdd)
|
||||
api.GET("/quotes/:id", MiddlewareAuth, quoteGet)
|
||||
api.PATCH("/quotes/:id", MiddlewareAuth, quoteUpdate)
|
||||
|
||||
Reference in New Issue
Block a user