feat : ammouncement

This commit is contained in:
lukman
2024-08-08 13:38:56 +08:00
parent cf1e2fc622
commit 583f754903
11 changed files with 177 additions and 14 deletions

View File

@@ -37,6 +37,8 @@ export async function getOneAnnouncement(req: NextRequest) {
group: v.Group.name,
}))
console.log(allAnnouncementMember)
return Response.json({ announcement, allAnnouncementMember });
} catch (error) {
console.error(error);