From 6131127dce6ea3585f0c20f5d5766457e73bca57 Mon Sep 17 00:00:00 2001 From: Don Kora Jacob <59095840+don-k-jacob@users.noreply.github.com> Date: Tue, 20 Oct 2020 23:57:24 +0530 Subject: [PATCH] made 404 error with uid --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 306c63e..d3b7302 100644 --- a/index.ts +++ b/index.ts @@ -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" }), },