fix(db): clickhouse dates (unsure what have happen)

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-02-26 15:10:08 +01:00
parent bc2205fa2f
commit 9d43cc49c4
2 changed files with 4 additions and 10 deletions

View File

@@ -100,7 +100,8 @@ const getPrismaClient = () => {
return org.subscriptionEndsAt;
}
return new Date();
// Hedge against edge cases :D
return new Date(Date.now() + 1000 * 60 * 60 * 24);
},
},
isTrial: {