fix missing return

This commit is contained in:
Krzysztof Dryś 2024-05-27 16:45:07 +02:00
parent 42bfac155d
commit b534c5bf42

View File

@ -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{