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: making the created_at dynamic for each order #6721
Conversation
That's not gonna work. if created_at is None:
created_at = now() |
Codecov Report
@@ Coverage Diff @@
## development #6721 +/- ##
===============================================
+ Coverage 65.61% 65.61% +<.01%
===============================================
Files 300 300
Lines 15255 15257 +2
===============================================
+ Hits 10009 10011 +2
Misses 5246 5246
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference b/w previous and this? @kushthedude
You are still doing the same thing.
What's the difference in initializing in the constructor and now? |
Not when created_at is passed in the constructor |
When passed in constructor, every order is assigned the same createdAt
status which onces expire was resulting into expiry of every order.
…On Sat, 4 Jan, 2020, 19:15 Areeb Jamal, ***@***.***> wrote:
Not when created_at is passed in the constructor
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6721?email_source=notifications&email_token=AKQMTLV7KY5RBEDIAYQLXGDQ4CHIPA5CNFSM4KCVWBB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICYINA#issuecomment-570786868>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLXWNBGMBIL4FIAT5ADQ4CHIPANCNFSM4KCVWBBQ>
.
|
Fixes #6703