@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.
Files changed (2) hide show
  1. package/app/api/index.ts +1 -1
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.349",
3
+ "version": "0.0.350",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {