From 5dafc6c63c672d44f9799b24fc5105724926a184 Mon Sep 17 00:00:00 2001 From: James Lakin Date: Mon, 13 Apr 2020 17:01:42 +0100 Subject: [PATCH] Fix spelling typo in Swagger --- routers/api/v1/notify/notifications.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/notify/notifications.go b/routers/api/v1/notify/notifications.go index 85a11a0f3d60..0849b616ed4b 100644 --- a/routers/api/v1/notify/notifications.go +++ b/routers/api/v1/notify/notifications.go @@ -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. diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index d3b5f76ebdbc..9ced87ff4a92 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -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."