Skip to content

Commit

Permalink
Remove word User from the descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
saraycp committed Sep 28, 2023
1 parent 60354db commit 5d50513
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -30,11 +30,11 @@ def call
when 'Event::BuildFail'
"Build was triggered because of #{@notification.event_payload['reason']}"
when 'Event::CreateReport'
"User '#{@notification.notifiable.user.login}' created a report for a #{@notification.event_payload['reportable_type']} for the following reason:"
"'#{@notification.notifiable.user.login}' created a report for a #{@notification.event_payload['reportable_type']} for the following reason:"
when 'Event::ClearedDecision'
"User '#{@notification.notifiable.moderator.login}' cleared a report for #{@notification.notifiable.reports.first.reportable} for the following reason:"
"'#{@notification.notifiable.moderator.login}' cleared a report for #{@notification.notifiable.reports.first.reportable} for the following reason:"
when 'Event::FavoredDecision'
"User '#{@notification.notifiable.moderator.login}' favored a report for #{@notification.notifiable.reports.first.reportable} for the following reason:"
"'#{@notification.notifiable.moderator.login}' favored a report for #{@notification.notifiable.reports.first.reportable} for the following reason:"
end
end
end
Expand Down

0 comments on commit 5d50513

Please sign in to comment.