Skip to content

Commit

Permalink
Update lib/ai_bot/playground.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Joffrey JAFFEUX <[email protected]>
  • Loading branch information
SamSaffron and jjaffeux authored Mar 3, 2024
1 parent 8da8192 commit cd31808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ai_bot/playground.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def reply_to(post)
# since we are skipping validations and jobs we
# may need to fix participant count
if reply_post.topic.private_message? && reply_post.topic.participant_count < 2
reply_post.topic.update(participant_count: 2)
reply_post.topic.update!(participant_count: 2)
end

reply_post
Expand Down

0 comments on commit cd31808

Please sign in to comment.