fix: seed

This commit is contained in:
Andras Bacsai 2022-11-28 12:53:44 +01:00
parent 40d294a247
commit 9c6092f31f

View File

@ -44,7 +44,6 @@ async function main() {
// Set auto-update based on env variable
const isAutoUpdateEnabled = process.env['COOLIFY_AUTO_UPDATE'] === 'true';
if (settings) {
await prisma.setting.update({
where: {
id: '0'
@ -53,7 +52,6 @@ async function main() {
isAutoUpdateEnabled
}
});
}
const github = await prisma.gitSource.findFirst({
where: { htmlUrl: 'https://github.com', forPublic: true }
});