Skip to content

Commit

Permalink
feat(feishu): local client
Browse files Browse the repository at this point in the history
  • Loading branch information
LetTTGACO committed Jun 15, 2024
1 parent deba4a7 commit 48c1c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/plugin-image-local/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { IPlugin } from '@elogx-test/elog';
import ImageLocal from './ImageLocal';
import ImageClient from './ImageClient';
import type { ImageLocalConfig } from './types';

export default function imageLocal(options: Partial<ImageLocalConfig>): IPlugin {
return {
name: 'image-local',
transform(docs) {
const imageLocal = new ImageLocal(options as ImageLocalConfig, this);
const imageLocal = new ImageClient(options as ImageLocalConfig, this);
return imageLocal.replaceImages(docs);
},
};
Expand Down

0 comments on commit 48c1c20

Please sign in to comment.