feat: Add update kuma service

This commit is contained in:
Andras Bacsai
2022-03-27 14:05:36 +02:00
parent c615f6c07e
commit a742a3d2e3
9 changed files with 312 additions and 0 deletions

View File

@@ -126,6 +126,13 @@ export async function configureServiceType({ id, type }) {
type
}
});
} else if (type === 'uptimekuma') {
await prisma.service.update({
where: { id },
data: {
type
}
});
}
}
export async function setServiceVersion({ id, version }) {