Skip to content

Commit 47bced1

Browse files
authored
Removed last call to PropertiesService
Removed last call to PropertiesService.getUserProperties()
1 parent f35156b commit 47bced1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/QuickBooks.gs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ function run() {
2424
var service = getService();
2525
if (service.hasAccess()) {
2626
// Get the Company ID to be used in the request.
27-
var companyId = PropertiesService.getUserProperties()
28-
.getProperty('QuickBooks.companyId');
27+
var companyId = service.getStorage().getValue('QuickBooks.companyId');
2928
// Get Quickbooks Company information to test.
3029
var url = 'https://sandbox-quickbooks.api.intuit.com/v3/company/' +
3130
companyId + '/companyinfo/' + companyId;

0 commit comments

Comments
 (0)