fix long lasting request getPrestudents to block browser when timedout once

This commit is contained in:
Harald Bamberger
2024-05-06 16:04:45 +02:00
parent 40c0393bc0
commit 6a8a96b748
2 changed files with 22 additions and 4 deletions
+4 -1
View File
@@ -117,7 +117,10 @@ export default {
return this.$fhcApi.post(
'/api/frontend/v1/studstatus/leitung/getPrestudents',
{ query },
{ signal }
{
signal: signal,
timeout: 30000
}
);
},
approve(antrag) {