Skip to content

Commit

Permalink
Regions
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Jan 7, 2025
1 parent e357899 commit 014f79f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const setupAuth = (c: Context) => {
return {
data: {
...session,
activeOrganizationId: "test",
activeOrganizationId: org?.organizations?.id,
},
};
},
Expand Down
3 changes: 3 additions & 0 deletions apps/api/wrangler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"compatibility_date": "2024-12-29",
"workers_dev": true,
"compatibility_flags": ["nodejs_compat"],
"placement": {
"mode": "smart"
},
"d1_databases": [
{
"binding": "DB",
Expand Down

0 comments on commit 014f79f

Please sign in to comment.