Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Upload file size limit #2313

Merged
merged 1 commit into from
May 23, 2022
Merged

fix: Upload file size limit #2313

merged 1 commit into from
May 23, 2022

Conversation

Tripletri
Copy link
Contributor

Upload file size limit fix

Guild helper used megabyte(1000^2) instead of mebibyte(1024^2).
Issue #2311

Tests

  • DiscordRestApiClient.UploadFileAsync()
  • GuildHelper.GetUploadLimit()

Changes

  • Fix GuildHelper.GetUploadLimit()

Packages

Added packages FluentAssertions and Moq for easier test writing.

@Tripletri Tripletri changed the title Upload file size limit fix fix: Upload file size limit May 22, 2022
@quinchs quinchs added the bug label May 22, 2022
@quinchs quinchs merged commit 54a5af7 into discord-net:dev May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants