feat: Autodeploy pause

This commit is contained in:
Andras Bacsai
2022-03-11 22:36:21 +01:00
parent 7c273a3a48
commit fa6cf068c7
10 changed files with 127 additions and 30 deletions

View File

@@ -45,8 +45,8 @@ export const post: RequestHandler = async (event) => {
})
)
.digest('hex');
await db.prisma.application.updateMany({
where: { branch, projectId },
await db.prisma.application.update({
where: { id: application.id },
data: { configHash }
});
}