Skip to content

Commit c21187b

Browse files
committed
fix: hosts.get() converted to object
1 parent b0e3bd2 commit c21187b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CoCreateLazyLoader {
5353
const valideUrl = new URL(`http://${req.headers.host}${req.url}`);
5454
const hostname = valideUrl.hostname;
5555

56-
let organization = hosts.get(hostname);
56+
let organization = hosts[hostname];
5757
if (!organization) {
5858
let org = await this.crud.send({
5959
method: 'object.read',

0 commit comments

Comments
 (0)