0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-04-07 23:01:25 -05:00

fix: connector loading path not found error (#2529)

This commit is contained in:
Darcy Ye 2022-11-25 12:30:58 +08:00 committed by GitHub
parent b024f68cb9
commit 896a8d2eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ export const loadConnectorFactories = async () => {
metadata: rawConnector.metadata,
type: rawConnector.type,
createConnector,
path: packagePath + '/lib/index.js',
path: packagePath,
};
} catch (error: unknown) {
if (error instanceof Error) {