An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: No error if GitSource is missing
Andras Bacsai6dfcb9e52b52
diff --git a/src/lib/database/applications.ts b/src/lib/database/applications.tsindex ecbb224843..70c66144bb 100644--- a/src/lib/database/applications.ts+++ b/src/lib/database/applications.ts@@ -79,17 +79,17 @@ export async function getApplicationWebhook({ projectId, branch }) {secrets: true}});- if (application.gitSource?.githubApp?.clientSecret) {+ if (application?.gitSource?.githubApp?.clientSecret) {application.gitSource.githubApp.clientSecret = decrypt(application.gitSource.githubApp.clientSecret);}- if (application.gitSource?.githubApp?.webhookSecret) {+ if (application?.gitSource?.githubApp?.webhookSecret) {application.gitSource.githubApp.webhookSecret = decrypt(application.gitSource.githubApp.webhookSecret);}- if (application.gitSource?.githubApp?.privateKey) {+ if (application?.gitSource?.githubApp?.privateKey) {application.gitSource.githubApp.privateKey = decrypt(application.gitSource.githubApp.privateKey);