Skip to content

Commit

Permalink
Fixed a missing await on getting a response body
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeenan committed Feb 15, 2019
1 parent 1cfd7db commit 3bd871c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fast-google-fonts/fast-google-fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ async function fetchCSS(url, request) {
cache = caches.default;
let response = await cache.match(cacheKeyRequest);
if (response) {
fontCSS = response.text();
fontCSS = await response.text();
foundInCache = true;
}
} catch(e) {
Expand Down

0 comments on commit 3bd871c

Please sign in to comment.