Skip to content

Commit 2a04f93

Browse files
ckjorisrogebrd
andauthored
use fetch function defined in the class property, instead of the global one (#577)
Co-authored-by: Brad Rogers <brad12rogers@gmail.com>
1 parent d566f92 commit 2a04f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default class Dropbox {
152152

153153
return fetchOptions;
154154
})
155-
.then((fetchOptions) => fetch(baseApiUrl(host, this.domain) + path, fetchOptions))
155+
.then((fetchOptions) => this.fetch(baseApiUrl(host, this.domain) + path, fetchOptions))
156156
.then((res) => parseDownloadResponse(res));
157157
}
158158

0 commit comments

Comments
 (0)