Skip to content

Commit 6cc5bbf

Browse files
authored
Merge pull request #193 from danielmateoserrano/master
Add 'client' argument (Update GoogleApiComponent.js)
2 parents 3029503 + 65b4d47 commit 6cc5bbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GoogleApiComponent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ const defaultCreateCache = options => {
1616
const version = options.version || '3';
1717
const language = options.language || 'en';
1818
const url = options.url;
19+
const client = options.client;
1920

2021
return ScriptCache({
2122
google: GoogleApi({
2223
apiKey: apiKey,
2324
language: language,
2425
libraries: libraries,
2526
version: version,
26-
url: url
27+
url: url,
28+
client: client
2729
})
2830
});
2931
};

0 commit comments

Comments
 (0)