mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 12:47:45 +02:00
Fix client resources (#2791)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user