This repository has been archived by the owner on Feb 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from lyft/hotfix-service-map-cred
Fix mapping credentials: The original if statement to check if there are credentials will never execute if a user deletes all credentials from a service. data.get('credentials') will always return false when the service returns an empty list. I think the original intention was to check that the key exists. I've removed the if statement all together since data.get('credentials', []) will default to an empty list to check anyway.
- Loading branch information
Showing
1 changed file
with
25 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters