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