diff --git a/packages/server/src/api/controllers/deploy/Deployment.js b/packages/server/src/api/controllers/deploy/Deployment.js index d65d2714dc..3b95652c44 100644 --- a/packages/server/src/api/controllers/deploy/Deployment.js +++ b/packages/server/src/api/controllers/deploy/Deployment.js @@ -19,6 +19,9 @@ class Deployment { } setQuota(quota) { + if (!quota) { + return + } this.quota = quota } @@ -31,6 +34,9 @@ class Deployment { } setVerification(verification) { + if (!verification) { + return + } if (this.verification.quota) { this.quota = this.verification.quota }