Skip to content

Commit

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

def icon
Expand Down

0 comments on commit 8588f6f

Please sign in to comment.