feat: change profile pictures

I keep forgetting to do things. The edit mii api route has been using
the public folder as an uploads directory... whoops...
This commit is contained in:
trafficlunar 2025-05-09 22:30:26 +01:00
parent c5437ed3e7
commit 5514f2ec39
12 changed files with 257 additions and 19 deletions

View file

@ -35,9 +35,9 @@ export const tagsSchema = z
.max(8, { message: "There cannot be more than 8 tags" });
export const idSchema = z.coerce
.number({ message: "Mii ID must be a number" })
.int({ message: "Mii ID must be an integer" })
.positive({ message: "Mii ID must be valid" });
.number({ message: "ID must be a number" })
.int({ message: "ID must be an integer" })
.positive({ message: "ID must be valid" });
// Account Info
export const usernameSchema = z