Skip to content

Commit a549a58

Browse files
committed
Use bluebird Promise library in node-fetch > Response
1 parent 4cad6f7 commit a549a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/fetch/fetch.server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import fetch, { Request, Headers, Response } from 'node-fetch';
1212
import { host } from '../../config';
1313

1414
fetch.Promise = Promise;
15+
Response.Promise = Promise;
1516

1617
function localUrl(url) {
1718
if (url.startsWith('//')) {

0 commit comments

Comments
 (0)