mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-15 20:37:44 +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": {
|
"put": {
|
||||||
"produces": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/bookmaeks/cache": {
|
"/api/v1/bookmarks/cache": {
|
||||||
"put": {
|
"put": {
|
||||||
"produces": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue