From 4bf9eb41655cc5cb1df0eaf8c65f208dbfa4675e Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Wed, 13 Mar 2024 17:41:40 +0800 Subject: [PATCH] feat: update comment Signed-off-by: SuZhou-Joe --- src/plugins/workspace/server/plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/workspace/server/plugin.ts b/src/plugins/workspace/server/plugin.ts index d73aaf12d8fc..d050bfda6c8f 100644 --- a/src/plugins/workspace/server/plugin.ts +++ b/src/plugins/workspace/server/plugin.ts @@ -31,7 +31,7 @@ import { WorkspacePluginConfigType } from '../config'; import { workspaceIdInUrlSymbol } from './constant'; import { WorkspaceIdConsumerWrapper } from './saved_objects/workspace_id_consumer_wrapper'; // eslint-disable-next-line @osd/eslint/no-restricted-paths -import { ensureRawRequest } from '../../../core/server/http/router'; // will be an issue as the ensureRawRequest is an internal implementation +import { ensureRawRequest } from '../../../core/server/http/router'; // TODO: move the ensureRawRequest to a core module or the import will be an issue as the ensureRawRequest can only be import from core module export class WorkspacePlugin implements Plugin<{}, {}> { private readonly logger: Logger; @@ -98,7 +98,7 @@ export class WorkspacePlugin implements Plugin<{}, {}> { ); } - // TOO many client wrapper inside a single workspace plugin + // TODO: TOO many client wrapper inside a single workspace plugin // Try to combine conflict wrapper and this consumer wrapper. core.savedObjects.addClientWrapper( -2,