modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
921 stars 171 forks source link

Links (External Links) from projects can't validate the "Buy Me A Coffee" platform #1425

Closed KawaMood closed 9 months ago

KawaMood commented 9 months ago

Describe the bug

Hi,

Within a project page, on the "Links" section of the Project settings, there is a "Donation links" panel allowing us to set links from specific platforms. When I try to put my "Buy Me A Coffee" link, the system recognizes it and automatically selects as platform "Buy Me A Coffee". However, when I press the "Save changes" button, I get an error at the bottom-right corner that says:

An error occurred Invalid Input: Platform buy me a coffee does not exist.

And the link isn't saved.

Here is a screenshot of the issue:

issue_modrinth_buymeacoffee_0

Steps to reproduce

  1. Create a new project
  2. Go to "Project settings" > "Links"
  3. Scroll to "Donations links"
  4. Try to add a link from the Buy Me A Coffee platform, for example: https://www.buymeacoffee.com/kawamood
  5. Click "Save changes"

Expected behavior

The link should be saved correctly.

Additional context

No response

Prospector commented 9 months ago

Fixed in modrinth/knossos#1609