Skip to content

Commit

Permalink
login_nameを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
omochiumaiumai committed Mar 9, 2024
1 parent f06481b commit 93e930a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def mark_message_as_sent_for_hibernated_student
end

def create_followup_comment(student)
User.find_by(login_name: 'pjord-bot').comments.create(
User.find_by(login_name: 'pjord').comments.create(
description: I18n.t('talk.followup'),
commentable_id: Talk.find_by(user_id: student.id).id,
commentable_type: 'Talk'
Expand Down Expand Up @@ -756,7 +756,7 @@ def subdivision_name
end

def create_comebacked_comment
User.find_by(login_name: 'pjord-bot').comments.create(
User.find_by(login_name: 'pjord').comments.create(
description: I18n.t('talk.comeback'),
commentable_id: Talk.find_by(user_id: id).id,
commentable_type: 'Talk'
Expand Down

0 comments on commit 93e930a

Please sign in to comment.