@@ -33,7 +33,7 @@ def initialize(client)
3333 # @option options [Hash] :custom Additional data to be stored with the flag
3434 sig { params ( flagged_user_id : String , reason : String , options : T . untyped ) . returns ( StreamChat ::StreamResponse ) }
3535 def flag_user ( flagged_user_id , reason , **options )
36- flag ( T . must ( MODERATION_ENTITY_TYPES [ :user ] ) , flagged_user_id , '' , reason , **options )
36+ flag ( T . must ( MODERATION_ENTITY_TYPES [ :user ] ) , flagged_user_id , reason , **options )
3737 end
3838
3939 # Flags a message with a reason
@@ -45,7 +45,7 @@ def flag_user(flagged_user_id, reason, **options)
4545 # @option options [Hash] :custom Additional data to be stored with the flag
4646 sig { params ( message_id : String , reason : String , options : T . untyped ) . returns ( StreamChat ::StreamResponse ) }
4747 def flag_message ( message_id , reason , **options )
48- flag ( T . must ( MODERATION_ENTITY_TYPES [ :message ] ) , message_id , '' , reason , **options )
48+ flag ( T . must ( MODERATION_ENTITY_TYPES [ :message ] ) , message_id , reason , **options )
4949 end
5050
5151 # Flags an entity with a reason
0 commit comments