This commit is contained in:
creations 2025-04-20 14:39:31 -04:00
parent 6d46ef48d0
commit df6e2325d9
Signed by: creations
GPG key ID: 8F553AA4320FC711
4 changed files with 36 additions and 16 deletions

View file

@ -11,7 +11,9 @@ const routeDef: RouteDef = {
async function handler(request: ExtendedRequest): Promise<Response> {
const { id } = request.params;
const data: LanyardResponse = await getLanyardData(id || lanyardConfig.userId);
const data: LanyardResponse = await getLanyardData(
id || lanyardConfig.userId,
);
if (!data.success) {
return await renderEjsTemplate("error", {