From e7bd54c99a41aaa396ca160a789c80f8f1f61432 Mon Sep 17 00:00:00 2001 From: ghonche_yqr Date: Wed, 30 Mar 2022 12:52:15 +0430 Subject: [PATCH] docs: fix initialize parameter keys --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b6e634..14888ef 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth'; // use hook after platform dom ready GoogleAuth.initialize({ - client_id: 'CLIENT_ID.apps.googleusercontent.com', + clientId: 'CLIENT_ID.apps.googleusercontent.com', scopes: ['profile', 'email'], grantOfflineAccess: true, }); @@ -61,7 +61,7 @@ or if need use meta tags #### Options -- `client_id` - The app's client ID, found and created in the Google Developers Console. +- `clientId` - The app's client ID, found and created in the Google Developers Console. - `scopes` – same as [Configure](#Configure) scopes - `grantOfflineAccess` – boolean, default `false`, Set if your application needs to refresh access tokens when the user is not present at the browser.