File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ function getService() {
6565 // Set the client ID and secret.
6666 . setClientId ( CLIENT_ID )
6767 . setClientSecret ( CLIENT_SECRET )
68- // Required, set to Accounting for this example, see QB developer portal for additional options.
68+ // Required, set to Accounting for this example,
69+ // see QB developer portal for additional options.
6970 . setScope ( 'com.intuit.quickbooks.accounting' )
7071 // Set the name of the callback function in the script referenced
7172 // above that should be invoked to complete the OAuth flow.
@@ -82,7 +83,8 @@ function authCallback(request) {
8283 var authorized = service . handleCallback ( request ) ;
8384 if ( authorized ) {
8485 // Save the Company ID in the service's storage.
85- service . getStorage ( ) . setValue ( 'QuickBooks.companyId' , request . parameter . realmId ) ;
86+ service . getStorage ( ) . setValue ( 'QuickBooks.companyId' ,
87+ request . parameter . realmId ) ;
8688 return HtmlService . createHtmlOutput ( 'Success!' ) ;
8789 } else {
8890 return HtmlService . createHtmlOutput ( 'Denied' ) ;
You can’t perform that action at this time.
0 commit comments