GoogleCloudPlatform / GoogleCloudPlatform/datashare-toolkit

Remove redundant projection / conversion of policies array data when getting / savings

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.