Skip to content

Commit

Permalink
🐛 fix: fix console time error
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 17, 2023
1 parent ecf1c4c commit 1cd882c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/v1/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ export default async (req: Request) => {

console.log(`检测到 functionCall: ${name}`);

console.timeLog('请求 index');
const res = await fetch(INDEX_URL);
const manifest: LobeChatPlugins = await res.json();
console.timeEnd('请求 index');
console.log(manifest);

const item = manifest.plugins.find((i) => i.name === name);

Expand Down

0 comments on commit 1cd882c

Please sign in to comment.