forked from creations/profilePage
remove index.ts since its not needed
This commit is contained in:
parent
8f499daec2
commit
245215265a
2 changed files with 7 additions and 73 deletions
|
@ -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", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue