Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update import-commissions.ts

Kiran Kc1261583ff7d
diff --git a/apps/web/lib/tolt/import-commissions.ts b/apps/web/lib/tolt/import-commissions.ts
index 171cacf60c..7f3db8e4fd 100644
--- a/apps/web/lib/tolt/import-commissions.ts
+++ b/apps/web/lib/tolt/import-commissions.ts
@@ -189,6 +189,9 @@ async function createCommission({
include: {
link: true,
},
+ orderBy: {
+ createdAt: "asc",
+ },
});
if (!customerFound) {