Skip to content

Commit

Permalink
🐛 fix: 修正没有呈现索引 url 的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 25, 2023
1 parent f0e1d99 commit 75f94dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const createLobeChatPluginGateway = (pluginsIndexUrl: string) => {
// 插件市场索引不存在
if (!marketIndex)
return createErrorResponse(PluginErrorType.PluginMarketIndexNotFound, {
indexUrl,
indexUrl: marketIndexUrl,
message: '[gateway] plugin market index not found',
});

Expand All @@ -62,7 +62,7 @@ export const createLobeChatPluginGateway = (pluginsIndexUrl: string) => {
if (!indexParseResult.success)
return createErrorResponse(PluginErrorType.PluginMarketIndexInvalid, {
error: indexParseResult.error,
indexUrl,
indexUrl: marketIndexUrl,
marketIndex,
message: '[gateway] plugin market index is invalid',
});
Expand Down

0 comments on commit 75f94dd

Please sign in to comment.