feat : update announcement

This commit is contained in:
lukman
2024-08-13 13:35:59 +08:00
parent 334f94cb39
commit 7ffc642feb
6 changed files with 167 additions and 70 deletions

View File

@@ -232,18 +232,21 @@ POST http://localhost:3000/api/announcement HTTP/1.1
Content-Type: application/json
{
"title": "cobaannouncement1 dsdsd",
"desc": "coba announcement sdsdsd",
"groups": [
{
"id": "group1",
"name": "Dinas",
"Division": [
{
"id": "1",
"name": "sasasasa"
}
]
}
]
"title": "test",
"desc": "test",
"groups":
[
{
"idAnnouncement": "1",
"idGroup": "group1",
"idDivision": "1",
"isActive": true
},
{
"idAnnouncement": "1",
"idGroup": "group1",
"idDivision": "clzknx2xy0001bt0wygcwjfph",
"isActive": true
}
]
}