Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Aug 7, 2024
1 parent 7695e8e commit 21f1aeb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/(static)/events/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@ export async function GET(req: NextRequest, res: NextResponse) {
past: eventsService.getPastEvents(),
};

const response = NextResponse.json({ data }, { status: 200 });
console.log('*******RES****', res);
console.log('*******RES BODY****', response.body);
return response;

// return NextResponse.json({ data });
return Response.json(data, { status: 200 });
}

0 comments on commit 21f1aeb

Please sign in to comment.