Skip to content

Commit c1d3878

Browse files
authored
Update QuickBooks.gs
Line length of 80 will be the death of me...
1 parent 488ee41 commit c1d3878

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

samples/QuickBooks.gs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)