pfp cropping #12
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ async function saveChanges() {
|
||||||
alert('success!!')
|
alert('success!!')
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
if (error?.response?.status !== 200) {
|
if (error?.response?.status !== 200) {
|
||||||
alert(`error ${error?.response?.status} met whilst trying to update profile info`)
|
alert(`error ${error?.response?.status} met whilst trying to update profile info\n"${error?.response._data?.message}"`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue