Skip to content

Commit

Permalink
Try a new librarie to fix midjourney api deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteLecat committed Apr 3, 2024
1 parent 378d99b commit 11ad5b0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {
"firebase-admin": "^11.5.0",
"firebase-functions": "^4.2.0",
"freezer-midjourney-api": "^4.0.6",
"midjourney": "^4.3.17",
"rxjs": "^7.8.1"
},
Expand Down
2 changes: 1 addition & 1 deletion functions/src/services/image_generator.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import { Midjourney } from 'midjourney';
import { Midjourney } from 'freezer-midjourney-api';
import { Subject } from 'rxjs';
import { GeneratedImage } from '../entities/generated-image.entities';

Expand Down

0 comments on commit 11ad5b0

Please sign in to comment.