mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
fix: codeql
This commit is contained in:
@@ -236,7 +236,7 @@ export async function safeFetch(
|
||||
};
|
||||
|
||||
while (true) {
|
||||
const response = await fetch(current.toString(), requestInit);
|
||||
const response = await fetch(current, requestInit);
|
||||
|
||||
if (response.status >= 300 && response.status < 400) {
|
||||
const location = response.headers.get('location');
|
||||
|
||||
Reference in New Issue
Block a user