This commit is contained in:
ditiqi 2025-02-24 09:32:55 +08:00
parent 939a313c9e
commit 0081ccf3f2
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export async function updatePostViewCount(id: string, type: VisitType) {
}, // Use 0 if no visits exist
},
});
console.log('readed');
} else if (type === VisitType.LIKE) {
await db.post.update({
where: {