From 845a6bd4476a2cc60acd4fff5902299d14c6a3ed Mon Sep 17 00:00:00 2001 From: Junyi Date: Thu, 22 Aug 2024 23:46:39 +0800 Subject: [PATCH] fix(server): fix import crypto in pub sub manager (#5111) --- packages/core/server/src/pub-sub-manager/handler-manager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/server/src/pub-sub-manager/handler-manager.ts b/packages/core/server/src/pub-sub-manager/handler-manager.ts index b2b972df83..9dfe801c5c 100644 --- a/packages/core/server/src/pub-sub-manager/handler-manager.ts +++ b/packages/core/server/src/pub-sub-manager/handler-manager.ts @@ -7,6 +7,7 @@ * For more information, please refer to: https://www.nocobase.com/agreement. */ +import crypto from 'node:crypto'; import _ from 'lodash'; import { type PubSubManagerSubscribeOptions } from './types';