diff --git a/docker/resources/likes100.png b/docker/resources/likes100.png old mode 100644 new mode 100755 diff --git a/docker/resources/likes150.png b/docker/resources/likes150.png old mode 100644 new mode 100755 diff --git a/docker/resources/likes50.png b/docker/resources/likes50.png old mode 100644 new mode 100755 diff --git a/docker/resources/likes500.png b/docker/resources/likes500.png old mode 100644 new mode 100755 diff --git a/internal/pkg/communications/delivery/http/addreaction/handler.go b/internal/pkg/communications/delivery/http/addreaction/handler.go index e9cb5ae..b8e8dd6 100644 --- a/internal/pkg/communications/delivery/http/addreaction/handler.go +++ b/internal/pkg/communications/delivery/http/addreaction/handler.go @@ -172,14 +172,11 @@ func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) { err = h.wsService.SendNotification(ctx, int(receiverID.UserID), firstUsername.Username, firstUserImage.Link) if err != nil { h.logger.Error("AddReaction Handler: error sending notification", zap.Error(err)) - http.Error(w, "Что-то пошло не так :(", http.StatusInternalServerError) - return } err = h.wsService.SendNotification(ctx, reaction.Author, secondUsername.Username, secondUserImage.Link) if err != nil { h.logger.Error("AddReaction Handler: error sending notification", zap.Error(err)) - http.Error(w, "Что-то пошло не так :(", http.StatusInternalServerError) - return + } }