From dc62f95feef6a33f6f65c9083de1e2ae072cab3e Mon Sep 17 00:00:00 2001 From: alwayshang Date: Sun, 7 Apr 2024 11:58:38 +0800 Subject: [PATCH] chore: remove repetitive words Signed-off-by: alwayshang --- docs/subscribe/phone.md | 2 +- server/errors.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/subscribe/phone.md b/docs/subscribe/phone.md index e88ff0fb..de5b169d 100644 --- a/docs/subscribe/phone.md +++ b/docs/subscribe/phone.md @@ -95,7 +95,7 @@ The reason for this is [Firebase Cloud Messaging (FCM)](https://firebase.google. notifications. Firebase is overall pretty bad at delivering messages in time, but on Android, most apps are stuck with it. The ntfy Android app uses Firebase only for the main host `ntfy.sh`, and only in the Google Play flavor of the app. -It won't use Firebase for any self-hosted servers, and not at all in the the F-Droid flavor. +It won't use Firebase for any self-hosted servers, and not at all in the F-Droid flavor. ## Share to topic _Supported on:_ :material-android: diff --git a/server/errors.go b/server/errors.go index 657d1ddc..56b6734a 100644 --- a/server/errors.go +++ b/server/errors.go @@ -145,7 +145,7 @@ var ( errHTTPTooManyRequestsLimitCalls = &errHTTP{42910, http.StatusTooManyRequests, "limit reached: daily phone call quota reached", "https://ntfy.sh/docs/publish/#limitations", nil} errHTTPInternalError = &errHTTP{50001, http.StatusInternalServerError, "internal server error", "", nil} errHTTPInternalErrorInvalidPath = &errHTTP{50002, http.StatusInternalServerError, "internal server error: invalid path", "", nil} - errHTTPInternalErrorMissingBaseURL = &errHTTP{50003, http.StatusInternalServerError, "internal server error: base-url must be be configured for this feature", "https://ntfy.sh/docs/config/", nil} + errHTTPInternalErrorMissingBaseURL = &errHTTP{50003, http.StatusInternalServerError, "internal server error: base-url must be configured for this feature", "https://ntfy.sh/docs/config/", nil} errHTTPInternalErrorWebPushUnableToPublish = &errHTTP{50004, http.StatusInternalServerError, "internal server error: unable to publish web push message", "", nil} errHTTPInsufficientStorageUnifiedPush = &errHTTP{50701, http.StatusInsufficientStorage, "cannot publish to UnifiedPush topic without previously active subscriber", "", nil} )