diff --git a/backgroundImages/nya.png b/backgroundImages/nya.png deleted file mode 100644 index 1f61e249..00000000 Binary files a/backgroundImages/nya.png and /dev/null differ diff --git a/routes/api/v2/client/friends/accept/friend.ts b/routes/api/v2/client/friends/accept/friend.ts index 6c9675ee..2c45d22b 100644 --- a/routes/api/v2/client/friends/accept/friend.ts +++ b/routes/api/v2/client/friends/accept/friend.ts @@ -39,4 +39,4 @@ export const handler = { status: true, })); }, -}; \ No newline at end of file +}; diff --git a/routes/api/v2/client/friends/request/list.ts b/routes/api/v2/client/friends/request/list.ts index 12b858a4..61ca9422 100644 --- a/routes/api/v2/client/friends/request/list.ts +++ b/routes/api/v2/client/friends/request/list.ts @@ -16,8 +16,8 @@ export const handler = { } const friendData = await Promise.all(result.friendRequester.map(async (data: any) => { const friendData = await users.findOne({ uuid: data.userID }); - if(friendData === null) { - return + if (friendData === null) { + return; } return { userName: friendData.userName + "@" + data.domain, diff --git a/routes/api/v2/client/friends/request/name.ts b/routes/api/v2/client/friends/request/name.ts index 5298f197..07b4d259 100644 --- a/routes/api/v2/client/friends/request/name.ts +++ b/routes/api/v2/client/friends/request/name.ts @@ -45,7 +45,7 @@ export const handler = { } const userDomain = takos.splitUserName(userName).domain; if (userDomain !== env["DOMAIN"]) { - console.log("imakoko") + console.log("imakoko"); //friendのuuidを取得 const response = await fetch(`https://${userDomain}/api/v2/server/information/users/uuid`, { method: "POST", @@ -102,7 +102,7 @@ export const handler = { host: env["DOMAIN"], body: JSON.stringify({ userid, friendid: friendId }), signature: takos.signData(JSON.stringify({ userid, friendid: friendId }), await takos.getPrivateKey()), - }), + }), }); const resData = await res.json(); if (resData.status === false) { @@ -124,7 +124,7 @@ export const handler = { status: 404, }); } - console.log("imakoko") + console.log("imakoko"); const friendData = await friends.findOne({ user: userid }); if (friendData == null) { return new Response(JSON.stringify({ status: false, message: "User not found" }), { @@ -132,7 +132,7 @@ export const handler = { status: 404, }); } - console.log("imakoko") + console.log("imakoko"); const isFriend = friendData.friends.find((friend) => friend.userid === friendInfo.uuid); if (isFriend) { return new Response(JSON.stringify({ status: false, message: "Already friend" }), { @@ -140,7 +140,7 @@ export const handler = { status: 400, }); } - console.log("imakoko") + console.log("imakoko"); if (friendData === null) { return new Response(JSON.stringify({ status: false, message: "User not found" }), { headers: { "Content-Type": "application/json" }, @@ -170,4 +170,4 @@ export const handler = { } }, }; -//{ host: string, body: string, signature: string } \ No newline at end of file +//{ host: string, body: string, signature: string } diff --git a/static/github.svg b/static/github.svg index d5e64918..3de19390 100644 --- a/static/github.svg +++ b/static/github.svg @@ -1 +1 @@ - \ No newline at end of file +GitHub \ No newline at end of file diff --git a/static/logo2.webp b/static/logo2.webp deleted file mode 100644 index 5ac94291..00000000 Binary files a/static/logo2.webp and /dev/null differ