GoogleCloudPlatform / GoogleCloudPlatform/datashare-toolkit
Remove redundant projection / conversion of policies array data when getting / savings
Open
cleanup
- Dominant language
- JavaScript
- Stars
- 94
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
When calling to save a policy and array has to be provided, though when retrieving, we return an array of dictionaries.
accountData.policies = accountData.policies.map(e => e.policyId);
Contributor guide
Assessment
This issue has not been assessed yet.