mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
commit
dd9c357dad
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) {
|
if (userInfo === null) {
|
||||||
req.respond(
|
req.respond(
|
||||||
{
|
{
|
||||||
body: "Can not find a user",
|
body: "Can not find a user with userID: "+username,
|
||||||
status: 404,
|
status: 404,
|
||||||
headers: new Headers({ "Content-Type": "text" }),
|
headers: new Headers({ "Content-Type": "text" }),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue