Skip to content

Commit 7e9937e

Browse files
committed
fix: remove unnecessary alert text in callApi function
1 parent 407aa49 commit 7e9937e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function callApi({path, method, body, headers, silentError = false}
5151
} else {
5252
await router.push({ name: 'login' });
5353
}
54-
return null;alert
54+
return null;
5555
}
5656
return await r.json();
5757
} catch(e) {

0 commit comments

Comments
 (0)