Skip to content

Commit

Permalink
fix deleted project notification
Browse files Browse the repository at this point in the history
  • Loading branch information
tachyons committed Apr 22, 2024
1 parent 8588f6f commit 18d2e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/notifications/star_notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class StarNotification < Noticed::Base
def message
user = params[:user]
project = params[:project]
t("users.notifications.star_notification", user: user.name, project: project.name)
t("users.notifications.star_notification", user: user&.name, project: project&.name)
end

def icon
Expand Down

0 comments on commit 18d2e23

Please sign in to comment.