diff --git a/src/gam/gapi/directory/customer.py b/src/gam/gapi/directory/customer.py index cc2c418b..6f1bb982 100644 --- a/src/gam/gapi/directory/customer.py +++ b/src/gam/gapi/directory/customer.py @@ -95,12 +95,10 @@ def doGetCustomerInfo(): continue except gapi.errors.GapiForbiddenError: return - warnings = result.get('warnings', []) fullDataRequired = ['accounts'] usage = result.get('usageReports') - has_reports = bool(usage) fullData, tryDate = gapi_reports._check_full_data_available( - warnings, tryDate, fullDataRequired, has_reports) + result, tryDate, fullDataRequired, False) if fullData < 0: print('No user report available.') sys.exit(1)