New formatting
This commit is contained in:
@ -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",
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
@ -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"}', {
|
||||
|
Reference in New Issue
Block a user