feat: fix open-source to generate images
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
This commit is contained in:
parent
5fb59190f6
commit
e87089d710
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export class MediaController {
|
|||
isPicturePrompt = false
|
||||
) {
|
||||
const total = await this._subscriptionService.checkCredits(org);
|
||||
if (total.credits <= 0) {
|
||||
if (process.env.STRIPE_PUBLISHABLE_KEY && total.credits <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue