@zodic/shared 0.0.349 → 0.0.350
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/api/index.ts +1 -1
- package/package.json +1 -1
package/app/api/index.ts
CHANGED
|
@@ -919,7 +919,7 @@ export const Api = (env: BackendBindings) => ({
|
|
|
919
919
|
console.log('PiAPI FaceSwap Raw Response Body:', responseText);
|
|
920
920
|
|
|
921
921
|
// Check for the expected 201 Created status
|
|
922
|
-
if (response.status !== 201) {
|
|
922
|
+
if (response.status !== 201 && response.status !== 200) {
|
|
923
923
|
let errorData;
|
|
924
924
|
try {
|
|
925
925
|
errorData = JSON.parse(responseText);
|