mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Merge branch 'master' into dev
This commit is contained in:
@@ -839,7 +839,7 @@ export default class BackendAPI {
|
||||
throw handleFetchError(response, errorData);
|
||||
}
|
||||
|
||||
return await response.text();
|
||||
return await response.json();
|
||||
}
|
||||
|
||||
private async _makeServerFileUpload(
|
||||
|
||||
@@ -302,5 +302,5 @@ export async function makeAuthenticatedFileUpload(
|
||||
throw new ApiError(errorMessage, response.status, responseData);
|
||||
}
|
||||
|
||||
return await response.text();
|
||||
return await response.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user