Skip to content

Commit

Permalink
fix: no milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanRos committed Aug 8, 2024
1 parent d3e8a25 commit 860774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/appMilestone.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 860774f

Please sign in to comment.