mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
made 404 error with uid
This commit is contained in:
parent
05aee66d91
commit
6131127dce
1 changed files with 1 additions and 1 deletions
2
index.ts
2
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" }),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue