feat(campaigns): include cover images in frontend queries
This commit is contained in:
parent
413a677306
commit
d4060c06f0
2 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ export default async function CampaignDetailPage({ params }: CampaignDetailPageP
|
||||||
startDate: true,
|
startDate: true,
|
||||||
endDate: true,
|
endDate: true,
|
||||||
owner: true,
|
owner: true,
|
||||||
|
coverImage: true,
|
||||||
|
description: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.catch(() => null);
|
.catch(() => null);
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ export default async function CampaignsPage() {
|
||||||
startDate: true,
|
startDate: true,
|
||||||
endDate: true,
|
endDate: true,
|
||||||
owner: true,
|
owner: true,
|
||||||
|
coverImage: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue