made 404 error with uid

This commit is contained in:
Don Kora Jacob 2020-10-20 23:57:24 +05:30 • committed by GitHub
parent 05aee66d91
commit 6131127dce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ export default async (req: ServerRequest) => {
if (userInfo === null) {
req.respond(
{
body: "Can not find a user",
body: "Can not find a user with userID: "+username,
status: 404,
headers: new Headers({ "Content-Type": "text" }),
},