Skip to content

Commit

Permalink
Remove #compact
Browse files Browse the repository at this point in the history
  • Loading branch information
Droid00000 committed Feb 17, 2025
1 parent 413d489 commit 8735242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discordrb/api/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def bulk_ban(token, server_id, users, message_seconds, reason = nil)
server_id,
:post,
"#{Discordrb::API.api_base}/guilds/#{server_id}/bulk-ban",
{ user_ids: users, delete_message_seconds: message_seconds }.compact.to_json,
{ user_ids: users, delete_message_seconds: message_seconds }.to_json,
content_type: :json,
Authorization: token,
'X-Audit-Log-Reason': reason
Expand Down

0 comments on commit 8735242

Please sign in to comment.