feat(certificate): update certificate tag format

This commit is contained in:
Rafi Athallah
2026-07-12 15:02:11 +07:00
parent 01ab5445ca
commit 7efabea144
2 changed files with 20 additions and 9 deletions
@@ -101,6 +101,12 @@ class CertificateRepository {
});
}
async countByProject(id_project) {
return prisma.certificate.count({
where: { id_project: parseInt(id_project) },
});
}
async updateProjectTemplate(id_project, templatePath) {
return prisma.project.update({
where: { id: parseInt(id_project) },