mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 06:34:15 +00:00
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:
parent
c5437ed3e7
commit
5514f2ec39
12 changed files with 257 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue