Skip to content

Commit

Permalink
fix Organization.default
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Oct 9, 2023
1 parent 084244e commit cb6af91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
let organization_id = config.get('organization_id')
if (!organization_id) {
const Organization = await import('@cocreate/organizations')
organization_id = await Organization.get()
organization_id = await Organization.default.get()

}
if (organization_id)
config.set('organization_id', organization_id)
Expand Down

0 comments on commit cb6af91

Please sign in to comment.