Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix swagger
  • Loading branch information
6543 committed Jun 17, 2021
commit 2a80654cec696e2198f87b98d374ecba3a4d2c3d
2 changes: 1 addition & 1 deletion routers/api/v1/user/preferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func GetUserSettings(ctx *context.APIContext) {

// UpdateUserSettings returns user settings
func UpdateUserSettings(ctx *context.APIContext) {
// swagger:operation PATCH /user/preferences user getUserSettings
// swagger:operation PATCH /user/preferences user updateUserSettings
// ---
// summary: Update user settings
// parameters:
Expand Down
2 changes: 1 addition & 1 deletion templates/swagger/v1_json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10760,7 +10760,7 @@
"user"
],
"summary": "Update user settings",
"operationId": "getUserSettings",
"operationId": "updateUserSettings",
"parameters": [
{
"name": "body",
Expand Down