use form.post instead of form.send since latter expects a promise

This commit is contained in:
Harald Bamberger
2025-08-19 13:51:09 +02:00
parent ef80a19a24
commit 2198ea95e4
@@ -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();