Skip to content

Commit

Permalink
🐛 fix: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 11, 2023
1 parent 605d947 commit 8e2dde4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const createGateway = (pluginsIndexUrl: string = DEFAULT_PLUGINS_INDEX_URL) => {

const { identifier, arguments: args, indexUrl, apiName } = requestPayload;

let manifest: LobeChatPluginManifest | undefined = requestPayload.manifest;
let manifest = requestPayload.manifest as LobeChatPluginManifest | undefined;
console.info(`[${identifier}] - ${apiName} `);

// 入参中如果没有 manifest,则从插件市场索引中获取
Expand Down

0 comments on commit 8e2dde4

Please sign in to comment.