From 90fba41279a0f8c5893f2aa4f1d08ed7a06b60cf Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Wed, 17 May 2023 16:49:20 +0000 Subject: [PATCH] fix key name --- packages/comty.js/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/comty.js/src/index.js b/packages/comty.js/src/index.js index a02e6152..c5e34f29 100644 --- a/packages/comty.js/src/index.js +++ b/packages/comty.js/src/index.js @@ -37,11 +37,11 @@ export default function createClient({ mainOrigin: remotes.default.origin, instances: Object(), wsInstances: Object(), - curl: null, + rest: null, } if (globalThis.isServerMode) { - sharedState.curl = createHandlers() + sharedState.rest = createHandlers() } if (privateKey && accessKey && globalThis.isServerMode) {