mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
🐛 insert timestamp correctly
This commit is contained in:
@@ -218,7 +218,7 @@ export async function calculateUserClientsForOrgs(
|
||||
await transaction
|
||||
.insert(approvals)
|
||||
.values({
|
||||
timestamp: new Date().getTime() / 1000,
|
||||
timestamp: Math.floor(new Date().getTime() / 1000),
|
||||
orgId: userOrg.orgId,
|
||||
clientId: newClient.clientId,
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user