web: add number of future occurrences to compact event listing for app
This commit is contained in:
@ -82,6 +82,7 @@ export async function GET(req: NextRequest, res: NextResponse<ResponseData>) {
|
||||
return {
|
||||
url: `${process.env.URL}/arrangementer/${event.slug}`,
|
||||
nextOccurrence: nextOccurrence,
|
||||
futureOccurrencesCount: futureOccurrences.length,
|
||||
...whitelistFilter(event, keepKeys),
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user