fix the build

fix the build

diff --git a/lib/topic_creator.rb b/lib/topic_creator.rb
index 97bb4ef..49831cd 100644
--- a/lib/topic_creator.rb
+++ b/lib/topic_creator.rb
@@ -261,7 +261,7 @@ class TopicCreator
 
   def check_can_send_permission!(topic, obj)
     unless @opts[:skip_validations] ||
-      @guardian.can_send_private_message?(obj, notify_moderators: topic&.subtype == TopicSubtype.notify_moderators))
+      @guardian.can_send_private_message?(obj, notify_moderators: topic&.subtype == TopicSubtype.notify_moderators)
       rollback_with!(topic, :cant_send_pm)
     end
   end

GitHub sha: 7ce2d209

1 Like