mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
use form.post instead of form.send since latter expects a promise
This commit is contained in:
@@ -193,7 +193,7 @@ export default {
|
||||
|
||||
// TODO(chris): move to fhcapi.factory
|
||||
this.$refs.form
|
||||
.send('api/frontend/v1/stv/student/add', data)
|
||||
.post('api/frontend/v1/stv/student/add', data)
|
||||
.then(result => {
|
||||
this.$fhcAlert.alertSuccess('Gespeichert');
|
||||
this.$refs.modal.hide();
|
||||
|
||||
Reference in New Issue
Block a user