Fix client resources (#2791)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-03-21 22:54:38 +07:00
committed by GitHub
parent 510139344a
commit 79fbb9e6f3
+1 -2
View File
@@ -20,8 +20,6 @@ import { connect } from './connection'
export { connect }
let client: Promise<Client> | Client | undefined
/*!
* Anticrm Platform™ Client Plugin
* © 2020, 2021 Anticrm Platform Contributors. All Rights Reserved.
@@ -30,6 +28,7 @@ let client: Promise<Client> | Client | undefined
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
export default async () => {
let _token: string | undefined
let client: Promise<Client> | Client | undefined
return {
function: {