Skip to content

Commit

Permalink
feat: add APIs to support plugin state in request
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Mar 28, 2024
1 parent fb3f97e commit 46e787d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { OpenSearchDashboardsRequest, ensureRawRequest } from '../http/router';
*/
export const updateWorkspaceState = (
request: OpenSearchDashboardsRequest,
payload: PluginsStates['workspace']
payload: Partial<PluginsStates['workspace']>
) => {
const rawRequest = ensureRawRequest(request);

Expand Down

0 comments on commit 46e787d

Please sign in to comment.