diff --git a/src/routes/users/me/campaigns/_get/index.ts b/src/routes/users/me/campaigns/_get/index.ts index 83e942d80..787a1c333 100644 --- a/src/routes/users/me/campaigns/_get/index.ts +++ b/src/routes/users/me/campaigns/_get/index.ts @@ -453,7 +453,7 @@ class RouteItem extends UserRoute<{ ); return { ...campaign, - ...(applicationSpot + ...(applicationSpot && applicationSpot.cap >= 0 ? { freeSpots: applicationSpot.cap - (validApplicationsCount?.count || 0),