web/admin: migrate api calls to async (#4335)
migrate api calls to async Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -24,7 +24,6 @@ export class SAMLProviderImportForm extends Form<SAMLProvider> {
|
||||
return t`Successfully imported provider.`;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line
|
||||
send = (data: SAMLProvider): Promise<void> => {
|
||||
const file = this.getFormFiles()["metadata"];
|
||||
if (!file) {
|
||||
|
Reference in New Issue
Block a user