Skip to content

add alias for strikeout stats#244

Open
louisadamian wants to merge 1 commit intozero-sum-seattle:mainfrom
louisadamian:fix_strikeouts
Open

add alias for strikeout stats#244
louisadamian wants to merge 1 commit intozero-sum-seattle:mainfrom
louisadamian:fix_strikeouts

Conversation

@louisadamian
Copy link
Contributor

strikeout data is not populating

The MLB api represents the data as camel case strikeOuts and in the models it is one word strikeouts preventing it from auto populating.

I added an alias to strikeouts in the hitting, pitching, and catching models so it populates.

Passes all unit tests.

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.

1 participant