Skip to content

Commit

Permalink
fix: hosts.get() converted to object
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 28, 2023
1 parent b0e3bd2 commit c21187b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CoCreateLazyLoader {
const valideUrl = new URL(`http://${req.headers.host}${req.url}`);
const hostname = valideUrl.hostname;

let organization = hosts.get(hostname);
let organization = hosts[hostname];
if (!organization) {
let org = await this.crud.send({
method: 'object.read',
Expand Down

0 comments on commit c21187b

Please sign in to comment.