Skip to content

Commit 6aaa518

Browse files
authored
Merge pull request #83 from VoiceDeck/fix/date
fix: fill `date_created` field from server-side
2 parents a167b91 + 1bf431d commit 6aaa518

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/directus.ts

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export async function processNewContribution(
7474
hypercert_id: hypercertId,
7575
amount: amount,
7676
txid: txId,
77+
date_created: new Date().toISOString(),
7778
comment: comment,
7879
} as Contribution;
7980
// create a contribution record in Directus

0 commit comments

Comments
 (0)