Set student status to inactive if logging out and clear query cache

This commit is contained in:
Keannu Christian Bernasol 2023-09-29 16:32:31 +08:00
parent 4de274edb4
commit fb8e948dfc
4 changed files with 51 additions and 12 deletions

View file

@ -254,6 +254,7 @@ export async function PatchStudentStatus(info: StudentStatusPatchType) {
})
.catch((error) => {
let error_message = ParseError(error);
console.log("DEBUG", error.response.data);
return [false, error_message];
});
}