feat(certificate): update certificate tag format
This commit is contained in:
@@ -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) },
|
||||
|
||||
Reference in New Issue
Block a user