|
|
@@ -124,7 +124,7 @@ class ProsesSanksi extends Component {
|
|
|
const toastid = toast.loading("Please wait...");
|
|
|
data.change_role = "true";
|
|
|
data.keterangan = "delegasi ke DIKTI"
|
|
|
- update = await updateLaporan(token, id, data);
|
|
|
+ update = await updateLaporan(token, id, data, _csrf);
|
|
|
|
|
|
if (!update) {
|
|
|
toast.update(toastid, { render: "Laporan gagal didelegasi", type: "error", isLoading: false, autoClose: true, closeButton: true });
|