Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
fix(department): correct the position of catch
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Nov 12, 2022
1 parent d7d53e7 commit 314afec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/department/create.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ function createDepartment() {
if (receivedErrors.value.length) receivedErrors.value = []
successMessages.value.push("Department has been created successfully!")
})
.catch(response => extractAllErrorDetails(response, receivedErrors, successMessages))
}
.catch(response => extractAllErrorDetails(response, receivedErrors, successMessages))
</script>

0 comments on commit 314afec

Please sign in to comment.