Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
LizaSemyan committed Dec 21, 2024
1 parent 0e6800b commit 99aed4d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
Empty file modified docker/resources/likes100.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docker/resources/likes150.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docker/resources/likes50.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docker/resources/likes500.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

}
Expand Down

0 comments on commit 99aed4d

Please sign in to comment.