fixx :api tambah pengumuman
This commit is contained in:
@@ -234,7 +234,7 @@ export const apiGetDivisionGroup = async ({ user }: { user: string }) => {
|
||||
};
|
||||
|
||||
export const apiCreateAnnouncement = async ({ data }: { data: { title: string, desc: string, user: string, groups: any[] } }) => {
|
||||
const response = await api.post(`/mobile/announcement/`, data)
|
||||
const response = await api.post(`/mobile/announcement`, data)
|
||||
return response.data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user