From b534c5bf42e300a53b33fc8cc60bfd139923ccf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Dry=C5=9B?= Date: Mon, 27 May 2024 16:45:07 +0200 Subject: [PATCH] fix missing return --- internal/pass/sync/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pass/sync/handlers.go b/internal/pass/sync/handlers.go index 751ff28..4130663 100644 --- a/internal/pass/sync/handlers.go +++ b/internal/pass/sync/handlers.go @@ -68,6 +68,7 @@ func ExtensionRequestPush(syncingApp *Syncing) gin.HandlerFunc { if err != nil { log.Errorf("Failed to send push message: %v", err) gCtx.Status(http.StatusInternalServerError) + return } gCtx.JSON(http.StatusOK, map[string]string{