Skip to content

Commit

Permalink
Fix spelling typo in Swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesorlakin committed Apr 13, 2020
1 parent cd809b1 commit 5dafc6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion routers/api/v1/notify/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewWebPushSubscription(ctx *context.APIContext, input api.NotificationWebPu
// "$ref": "#/definitions/NotificationWebPushSubscription"
// responses:
// "201":
// description: The Web Push subscription was tested and saved sucessfully.
// description: The Web Push subscription was tested and saved successfully.
// "422":
// description: Required fields were missing or the provided subscription could not be tested successfully.

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 @@ -555,7 +555,7 @@
],
"responses": {
"201": {
"description": "The Web Push subscription was tested and saved sucessfully."
"description": "The Web Push subscription was tested and saved successfully."
},
"422": {
"description": "Required fields were missing or the provided subscription could not be tested successfully."
Expand Down

0 comments on commit 5dafc6c

Please sign in to comment.