Ship free-tier watermark policy (2 clean renders) and align pricing/legal copy.
This commit is contained in:
+6
-1
@@ -128,7 +128,12 @@ async function processJobItem(data: VideoJobData) {
|
||||
},
|
||||
});
|
||||
|
||||
// Quota was reserved at job creation; do not increment again on success.
|
||||
// Lifetime successful renders only (not monthly quota — that was reserved at create).
|
||||
await prisma.user.update({
|
||||
where: { id: data.userId },
|
||||
data: { createdVideoCount: { increment: 1 } },
|
||||
});
|
||||
|
||||
await cleanupFiles([outputPath]);
|
||||
} catch (err) {
|
||||
const message = formatYouTubeErrorForUser(err);
|
||||
|
||||
Reference in New Issue
Block a user