diff options
| author | Cyber <mateusz.hf18@gmail.com> | 2024-07-25 19:41:56 +0200 |
|---|---|---|
| committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2024-07-28 20:48:06 +1000 |
| commit | f047f93b77f04a574380851cda5f361e6efb2310 (patch) | |
| tree | 450e9bc8b41dbae4784863f69aedbf23eb4156f4 /src | |
| parent | fix: return an error on username change with no password (diff) | |
| download | server-ts-f047f93b77f04a574380851cda5f361e6efb2310.tar.xz | |
fix: check for password only if `username` is present in body
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/routes/users/@me/index.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/api/routes/users/@me/index.ts b/src/api/routes/users/@me/index.ts |
