fix: typo in URL under documentation (#778)

This commit is contained in:
Monirzadeh 2023-11-17 13:19:47 +03:30 committed by GitHub
parent 9746add224
commit d371ee6037
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -126,7 +126,7 @@ const docTemplate = `{
} }
} }
}, },
"/api/v1/bookmaeks/cache": { "/api/v1/bookmarks/cache": {
"put": { "put": {
"produces": [ "produces": [
"application/json" "application/json"

View file

@ -115,7 +115,7 @@
} }
} }
}, },
"/api/v1/bookmaeks/cache": { "/api/v1/bookmarks/cache": {
"put": { "put": {
"produces": [ "produces": [
"application/json" "application/json"

View file

@ -195,7 +195,7 @@ paths:
summary: Refresh a token for an account summary: Refresh a token for an account
tags: tags:
- Auth - Auth
/api/v1/bookmaeks/cache: /api/v1/bookmarks/cache:
put: put:
parameters: parameters:
- description: Update Cache Payload - description: Update Cache Payload

View file

@ -204,7 +204,7 @@ func NewBookmarksPIRoutes(logger *logrus.Logger, deps *config.Dependencies) *Boo
// @Produce json // @Produce json
// @Success 200 {object} model.Bookmark // @Success 200 {object} model.Bookmark
// @Failure 403 {object} nil "Token not provided/invalid" // @Failure 403 {object} nil "Token not provided/invalid"
// @Router /api/v1/bookmaeks/cache [put] // @Router /api/v1/bookmarks/cache [put]
func (r *BookmarksAPIRoutes) updateCache(c *gin.Context) { func (r *BookmarksAPIRoutes) updateCache(c *gin.Context) {
ctx := context.NewContextFromGin(c) ctx := context.NewContextFromGin(c)
if !ctx.UserIsLogged() { if !ctx.UserIsLogged() {