bugs fixed

This commit is contained in:
daniel31x13
2023-12-27 19:44:11 -05:00
parent 530e83ba34
commit ca093008b7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -88,7 +88,7 @@ async function migrateToV2() {
if (res) {
await prisma.link.update({
where: { id: link.id },
data: { pdfPath: path },
data: { pdf: path },
});
console.log(`${link.id}`);
} else {
@@ -105,7 +105,7 @@ async function migrateToV2() {
if (res) {
await prisma.link.update({
where: { id: link.id },
data: { screenshotPath: path },
data: { image: path },
});
console.log(`${link.id}`);
} else {