Skip to content

Commit b184b02

Browse files
authored
docs: fix initialize parameter keys (#193)
1 parent 585c8bd commit b184b02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth';
4646

4747
// use hook after platform dom ready
4848
GoogleAuth.initialize({
49-
client_id: 'CLIENT_ID.apps.googleusercontent.com',
49+
clientId: 'CLIENT_ID.apps.googleusercontent.com',
5050
scopes: ['profile', 'email'],
5151
grantOfflineAccess: true,
5252
});
@@ -61,7 +61,7 @@ or if need use meta tags
6161

6262
#### Options
6363

64-
- `client_id` - The app's client ID, found and created in the Google Developers Console.
64+
- `clientId` - The app's client ID, found and created in the Google Developers Console.
6565
- `scopes` – same as [Configure](#Configure) scopes
6666
- `grantOfflineAccess` – boolean, default `false`, Set if your application needs to refresh access tokens when the user is not present at the browser.
6767

0 commit comments

Comments
 (0)