fixed member post

This commit is contained in:
philipp lang 2021-06-22 22:35:47 +02:00
parent 2217c3f223
commit a793b33b6c
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@ export default {
},
submit() {
this.mode === 'create'
? $inertia.post(`/member`, inner)
: $inertia.patch(`/member/${inner.id}`, inner);
? this.$inertia.post(`/member`, inner)
: this.$inertia.patch(`/member/${inner.id}`, inner);
}
},