Skip to content

Commit be67b42

Browse files
updated the import statement
1 parent 1dc2c81 commit be67b42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"css-loader": "5.2.7",
6464
"elasticlunr": "^0.9.5",
6565
"es6-promise": "^4.2.8",
66+
"form-data": "^4.0.1",
6667
"fuse.js": "6.6.2",
6768
"gulp": "^4.0.2",
6869
"gulp-sass": "^5.1.0",

src/ai-image-editor/stability-ai-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import FormData from 'form-data';
1+
import * as FormData from 'form-data';
22

33
// Search and Replace
44
export async function StabilityAiModel(file: File, prompt: string, searchPrompt: string) {

0 commit comments

Comments
 (0)