Skip to content

Commit

Permalink
fix(cache): use the passed-in promise for resolving cache stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed May 25, 2017
1 parent 1c0704a commit 4c46257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = class Cache {
}
})
}
return Promise.resolve(new fetch.Response(body, {
return this.Promise.resolve(new fetch.Response(body, {
url: req.url,
headers: resHeaders,
status: 200,
Expand Down

0 comments on commit 4c46257

Please sign in to comment.