diff --git a/api/src/controllers/appMilestone.js b/api/src/controllers/appMilestone.js index 44835f770..76c596d67 100644 --- a/api/src/controllers/appMilestone.js +++ b/api/src/controllers/appMilestone.js @@ -100,7 +100,7 @@ router.post( const featureTransfer = await prisma.appMilestone.findUnique({ where: { id: `${user.id}_@TransferData` }, }); - if (featureTransfer) { + if (!featureTransfer) { await prisma.appMilestone.create({ data: { id: `${user.id}_@TransferData`,