diff options
| author | Adam Soltys <[email protected]> | 2023-02-09 11:54:01 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-09 11:54:01 -0800 |
| commit | 8230e6b4252dda0108b8666c650be89cdad157ac (patch) | |
| tree | be152c32ce93210eab980c46d55d972f3f3ee610 | |
| parent | 12dcd267bd2d23439afcbd493fda6f9d77035c4a (diff) | |
| download | coinos-server-8230e6b4252dda0108b8666c650be89cdad157ac.tar.gz coinos-server-8230e6b4252dda0108b8666c650be89cdad157ac.zip | |
lowercase username
| -rw-r--r-- | routes/users.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/users.js b/routes/users.js index 4496483f..2fd01415 100644 --- a/routes/users.js +++ b/routes/users.js @@ -34,6 +34,7 @@ export default { }, async get({ params: { key } }, res) { + key = key.toLowerCase(); try { if (key.startsWith("npub")) { try { |
