fix: remove promise execution
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
d384894bf0
commit
eb8690a422
|
@ -46,7 +46,6 @@ const onSubmit = async () => {
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
await axios.patch(`Clients/${$props.id}/setPassword`, payload);
|
await axios.patch(`Clients/${$props.id}/setPassword`, payload);
|
||||||
await $props.promise();
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
notify('errors.create', 'negative');
|
notify('errors.create', 'negative');
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue