remove index.ts since its not needed

This commit is contained in:
creations 2025-04-20 12:45:38 -04:00
parent 8f499daec2
commit 245215265a
Signed by: creations
GPG key ID: 8F553AA4320FC711
2 changed files with 7 additions and 73 deletions

View file

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