Skip to content

Commit 98f7c3c

Browse files
authored
Merge pull request #251 from zomars/zomars-patch-1
Pass region option from GoogleApiComponent
2 parents 0f985dc + 0f96e60 commit 98f7c3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GoogleApiComponent.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const defaultCreateCache = options => {
1717
const language = options.language || 'en';
1818
const url = options.url;
1919
const client = options.client;
20+
const region = options.region;
2021

2122
return ScriptCache({
2223
google: GoogleApi({
@@ -25,7 +26,8 @@ const defaultCreateCache = options => {
2526
libraries: libraries,
2627
version: version,
2728
url: url,
28-
client: client
29+
client: client,
30+
region: region
2931
})
3032
});
3133
};

0 commit comments

Comments
 (0)