We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a385f38 commit 3b7048bCopy full SHA for 3b7048b
index.js
@@ -37,7 +37,7 @@ class Replicate {
37
this.userAgent =
38
options.userAgent || `replicate-javascript/${packageJSON.version}`;
39
this.baseUrl = options.baseUrl || 'https://api.replicate.com/v1';
40
- this.fetch = fetch;
+ this.fetch = options.fetch || fetch;
41
42
this.collections = {
43
get: collections.get.bind(this),
0 commit comments