mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[teams] napojenie requestov
This commit is contained in:
1 parent
96954845a1
commit
86bea63cdd
9 files changed
+32
-30
No files matched your search
@@ -423,7 +423,7 @@ export default {
|
||||
|
||||
async _load(masterTaskId) {
|
||||
try {
|
||||
this.masterTask = await this.$axios.get_auth_data(`v1/master-tasks/${masterTaskId}`)
|
||||
this.masterTask = await this.$axios.get_auth_data(`v1/mastertasks/${masterTaskId}`)
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
}
|
||||
@@ -439,7 +439,7 @@ export default {
|
||||
|
||||
async _update() {
|
||||
try {
|
||||
await this.$axios.post_auth(`v1/master-tasks/${this.masterTask.id}`)
|
||||
await this.$axios.post_auth(`v1/mastertasks/${this.masterTask.id}`)
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
}
|
||||
@@ -447,7 +447,7 @@ export default {
|
||||
|
||||
async deleteTask(masterTaskId) {
|
||||
try {
|
||||
await this.$axios.delete(`v1/master-tasks/${masterTaskId}`)
|
||||
await this.$axios.delete(`v1/mastertasks/${masterTaskId}`)
|
||||
this.close()
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
|
||||
Reference in new issue
Block a user