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

Updating Mod Logo Fails #3

Closed
jswigart opened this issue Nov 7, 2022 · 1 comment
Closed

Updating Mod Logo Fails #3

jswigart opened this issue Nov 7, 2022 · 1 comment

Comments

@jswigart
Copy link

jswigart commented Nov 7, 2022

Given the following code, updating the logo for a mod fails.

NewModMedia newMedia = new NewModMedia();
newMedia.Logo = usablePreview;
existingMod.AddMedia(newMedia).Wait();

with the following error

{
   "error":{
      "code":422,
      "error_ref":13009,
      "message":"Validation Failed. Please see below to fix invalid input:",
      "errors":{
         "logo":"The logo must be an image."
      }
   }
}

The fix for this is very simple

image

@nickelc
Copy link
Owner

nickelc commented Nov 7, 2022

Thank you for the report.
It's fixed in fee0d13.

@nickelc nickelc closed this as completed Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants