mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-05 21:31:35 +00:00
Get just the field we need in info user licenses (#374)
This commit is contained in:
@@ -7903,7 +7903,7 @@ def doGetUserInfo(user_email=None):
|
|||||||
user_licenses = []
|
user_licenses = []
|
||||||
for sku in skus:
|
for sku in skus:
|
||||||
productId, skuId = getProductAndSKU(sku)
|
productId, skuId = getProductAndSKU(sku)
|
||||||
lbatch.add(lic.licenseAssignments().get(userId=user_email, productId=productId, skuId=skuId))
|
lbatch.add(lic.licenseAssignments().get(userId=user_email, productId=productId, skuId=skuId, fields=u'skuId'))
|
||||||
lbatch.execute()
|
lbatch.execute()
|
||||||
for user_license in user_licenses:
|
for user_license in user_licenses:
|
||||||
print ' %s' % user_license
|
print ' %s' % user_license
|
||||||
|
|||||||
Reference in New Issue
Block a user