modrinth / code

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

fix(labrinth): validate PAT name #2906

Open Erb3 opened 2 weeks ago

Erb3 commented 2 weeks ago

Uses the macros provided by validator to validate the name. The name already had a macro, but .validate() was not called. Stole the snippet from PAT creation route.

Resolves #1549