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

Fix messoption graphQL resolver #78 #97

Merged
merged 4 commits into from
Apr 2, 2018

Conversation

sharanry
Copy link
Member

Fixes #78

@sharanry sharanry requested a review from 0xRampey March 24, 2018 11:52
messoptionopen = None

if messoptionopen is not None:
if (datetime.today().date() < messoptionopen.dateClose) and messoption.monthYear != messoptionopen.monthYear:
Copy link
Member

Choose a reason for hiding this comment

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

I need to get the current chosen mess even if mess option is closed right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, if the mess option is open and nothing is chosen for that particular month then it returns None

Copy link
Member Author

Choose a reason for hiding this comment

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

messoptionopen here is the latest MessOptionOpen object

@0xRampey 0xRampey merged commit 492b31e into swd-bits-goa:master Apr 2, 2018
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