Skip to content

Commit 3f35ba8

Browse files
committed
fix: fix issue that prevents streaming
1 parent e56811e commit 3f35ba8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

phpmyfaq/admin/assets/src/api/upgrade.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const startTemporaryBackup = async (): Promise<Response> => {
115115
},
116116
});
117117

118-
return await response.json();
118+
return response;
119119
} catch (error) {
120120
throw error;
121121
}
@@ -131,7 +131,7 @@ export const startInstallation = async (): Promise<Response> => {
131131
},
132132
});
133133

134-
return await response.json();
134+
return response;
135135
} catch (error) {
136136
throw error;
137137
}
@@ -147,7 +147,7 @@ export const startDatabaseUpdate = async (): Promise<Response> => {
147147
},
148148
});
149149

150-
return await response.json();
150+
return response;
151151
} catch (error) {
152152
throw error;
153153
}

0 commit comments

Comments
 (0)