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

Added a method to update a case. #41

Merged
merged 2 commits into from
Oct 24, 2017

Conversation

npratley
Copy link

@npratley npratley commented Sep 21, 2017

Added a method to update a case. I thought this might have been better as a method on the Case class (e.g. case.update()) but the Case model class doesn't have a reference to the API client so it can't make that call. This is the simplest way I can see to add this functionality right now.

This addresses #5

@nadouani
Copy link
Contributor

Hello @npratley

thanks for this PR, could you add a sample file to illustrate how to use this new method?

Thanks

@npratley
Copy link
Author

Hi @nadouani, I've added an example of using the update_case method.

@nadouani nadouani merged commit f745c6d into TheHive-Project:develop Oct 24, 2017
@nadouani nadouani mentioned this pull request Dec 1, 2017
@nadouani nadouani added this to the 1.4.0 milestone Dec 4, 2017
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.

2 participants