mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-15 12:27:43 +08:00
fix: typo in URL under documentation (#778)
This commit is contained in:
parent
9746add224
commit
d371ee6037
4 changed files with 4 additions and 4 deletions
|
@ -126,7 +126,7 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/bookmaeks/cache": {
|
||||
"/api/v1/bookmarks/cache": {
|
||||
"put": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/bookmaeks/cache": {
|
||||
"/api/v1/bookmarks/cache": {
|
||||
"put": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue