New formatting

This commit is contained in:
2023-10-19 16:50:21 -04:00
parent 0b5e82bfcc
commit 026d1ca06d
30 changed files with 76 additions and 76 deletions

View File

@ -11,7 +11,7 @@ export async function onRequestGet(context: RequestContext) {
headers: {
"content-type": "application/json",
},
}
},
);
if (!robloxUserReq.ok) {
@ -41,13 +41,13 @@ export async function onRequestGet(context: RequestContext) {
a.entity.properties.executed_at.integerValue >
b.entity.properties.executed_at.integerValue
? 1
: -1
)
: -1,
),
),
{
headers: {
"content-type": "application/json",
},
}
},
);
}

View File

@ -6,7 +6,7 @@ export async function onRequestPost(context: RequestContext) {
if (
!ticket_link?.match(
/^https?:\/\/carcrushers\.modmail\.dev\/logs\/[a-z\d]{12}$/
/^https?:\/\/carcrushers\.modmail\.dev\/logs\/[a-z\d]{12}$/,
)
)
return new Response('{"error":"Invalid ticket link provided"}', {