Prevent updating app to enabled on seed app store (#8092)

pull/8234/head
Joe Au-Yeung 2023-04-11 12:21:21 -04:00 committed by GitHub
parent 98cf29f655
commit 2b8bba09c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ async function createApp(
await prisma.app.upsert({
where: { slug },
create: { slug, dirName, categories, keys, enabled: true },
update: { dirName, categories, keys, enabled: true },
update: { dirName, categories, keys },
});
await prisma.credential.updateMany({
where: { type },