Skip to content

Commit fab857d

Browse files
authored
Merge pull request #104 from swamphacks/dev
Release 3.0.1 (hotfix)
2 parents 6d82148 + 0a66a7d commit fab857d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/internal/api/handlers/event_interest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (h *EventInterestHandler) AddEmailToEvent(w http.ResponseWriter, r *http.Re
6161
if err != nil {
6262
switch err {
6363
case services.ErrEmailConflict:
64-
res.SendError(w, http.StatusConflict, res.NewError("duplicate_email", "Email is already registered for this event"))
64+
res.SendError(w, http.StatusConflict, res.NewError("duplicate_email", "Email already subscribed for updates"))
6565
case services.ErrFailedToCreateSubmission:
6666
res.SendError(w, http.StatusInternalServerError, res.NewError("submission_error", "Failed to create event interest submission"))
6767
default:

0 commit comments

Comments
 (0)