Skip to content

Commit

Permalink
fix: typo in URL under documentation (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monirzadeh committed Nov 17, 2023
1 parent 9746add commit d371ee6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/swagger/docs.go
Expand Up @@ -126,7 +126,7 @@ const docTemplate = `{
}
}
},
"/api/v1/bookmaeks/cache": {
"/api/v1/bookmarks/cache": {
"put": {
"produces": [
"application/json"
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger/swagger.json
Expand Up @@ -115,7 +115,7 @@
}
}
},
"/api/v1/bookmaeks/cache": {
"/api/v1/bookmarks/cache": {
"put": {
"produces": [
"application/json"
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger/swagger.yaml
Expand Up @@ -195,7 +195,7 @@ paths:
summary: Refresh a token for an account
tags:
- Auth
/api/v1/bookmaeks/cache:
/api/v1/bookmarks/cache:
put:
parameters:
- description: Update Cache Payload
Expand Down
2 changes: 1 addition & 1 deletion internal/http/routes/api/v1/bookmarks.go
Expand Up @@ -204,7 +204,7 @@ func NewBookmarksPIRoutes(logger *logrus.Logger, deps *config.Dependencies) *Boo
// @Produce json
// @Success 200 {object} model.Bookmark
// @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) {
ctx := context.NewContextFromGin(c)
if !ctx.UserIsLogged() {
Expand Down

0 comments on commit d371ee6

Please sign in to comment.