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.

order workspace by createdAt

Steven Tey89499874af21
diff --git a/apps/web/app/api/workspaces/route.ts b/apps/web/app/api/workspaces/route.ts
index dbae9b5b7f..6c3e767305 100644
--- a/apps/web/app/api/workspaces/route.ts
+++ b/apps/web/app/api/workspaces/route.ts
@@ -41,6 +41,9 @@ export const GET = withSession(async ({ session }) => {
},
},
},
+ orderBy: {
+ createdAt: "asc",
+ },
});
return NextResponse.json(
workspaces.map((project) =>