mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-08-03 01:53:18 +08:00
Set student status to inactive if logging out and clear query cache
This commit is contained in:
parent
4de274edb4
commit
fb8e948dfc
4 changed files with 51 additions and 12 deletions
|
@ -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];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue