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

Prevent Member.activities to be overriden by undefined values #555

Merged
merged 1 commit into from Nov 13, 2019

Conversation

Khaaz
Copy link
Contributor

@Khaaz Khaaz commented Nov 10, 2019

This PR adds a test to make sure we are not overriding the Member.activities property with undefined value on update.
Here we will only override it if data.activities is defined.

Prevent overriding activities with undefined.
@Skillz4Killz
Copy link
Contributor

Please if possible also add activities to the Member class in the typings file.

If you want to go above and beyond maybe we could fix all the typings for the member class 🙏

Missing props in the typings are as follows:

  1. activities
  2. clientStatus

Typings that can be improved:

  1. status

@abalabahaha
Copy link
Owner

This fixes a bug, typings belong in a separate PR.

@abalabahaha abalabahaha merged commit e567090 into abalabahaha:dev Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants