@kokimoki/app 1.12.0 → 1.14.0

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.
@@ -720,6 +720,9 @@ export class KokimokiClient extends EventEmitter {
720
720
  headers: this.apiHeaders,
721
721
  body: JSON.stringify({ baseImageUrl, prompt, tags }),
722
722
  });
723
+ if (!res.ok) {
724
+ throw await res.json();
725
+ }
723
726
  return await res.json();
724
727
  }
725
728
  }