diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-02-17 20:57:42 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-02-17 20:57:42 +1100 |
commit | f4dbca615011f691b7cc5d81554c32fa1dbdf423 (patch) | |
tree | eb67e4b729d2fe0e75d62a929be7424b3aa3e9df | |
parent | Fixed bug in /users/@me PATCH where username must be present in every request... (diff) | |
download | server-f4dbca615011f691b7cc5d81554c32fa1dbdf423.tar.xz |
Added email sanitisation to /users/@me PATCH. Could previously have email as any string
-rw-r--r-- | api/assets/schemas.json | 3 | ||||
-rw-r--r-- | api/src/routes/users/@me/index.ts | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json |