Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only make SODA salary call if record is current #62

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

sarayourfriend
Copy link
Contributor

@sarayourfriend sarayourfriend commented Jun 16, 2021

Not sure if this is really all that's necessary. There's no noticable change in the UI because I think non-current records must have already been returning nothing from the SODA call and causing https://github.com/SeattleDSA/1-312-hows-my-driving/blob/71bfd209e142054917df63cd16a3bfd2f41a0fba/src/extras.py#L18-L19 to return ""

Closes #48

Copy link
Collaborator

@AetherUnbound AetherUnbound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

src/api_types.py Show resolved Hide resolved
@sarayourfriend sarayourfriend merged commit 1f6bfe6 into main Jun 16, 2021
@sarayourfriend sarayourfriend deleted the add/only-show-salary-data-for-current-officers branch June 16, 2021 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only pull SODA salary data per badge number
2 participants