- Implemented an image attachment to the Writing exercise;
- Made it so the exams are now sorted when going through the history; - Corrected some little mistakes;
This commit is contained in:
@@ -47,7 +47,7 @@ export default function Diagnostic({onFinish}: Props) {
|
||||
|
||||
const updateUser = (callback: () => void) => {
|
||||
axios
|
||||
.post("/api/users/update", {focus, levels, isFirstLogin: false})
|
||||
.patch("/api/users/update", {focus, levels, isFirstLogin: false})
|
||||
.then(callback)
|
||||
.catch(() => {
|
||||
toast.error("Something went wrong, please try again later!", {toastId: "user-update-error"});
|
||||
|
||||
Reference in New Issue
Block a user