-
Notifications
You must be signed in to change notification settings - Fork 0
Pm 1345 trolley trust module #71
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
Conversation
"id" UUID NOT NULL DEFAULT uuid_generate_v4(), | ||
"user_id" VARCHAR(80) NOT NULL, | ||
"verification_id" TEXT NOT NULL, | ||
"date_filed" TIMESTAMP(6) WITHOUT TIME ZONE NOT NULL, |
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.
medium
correctness
Ensure that the date_filed
column is set to the correct time zone if your application requires time zone awareness. Using TIMESTAMP WITHOUT TIME ZONE
might lead to inconsistencies if time zones are not handled properly in the application logic.
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.
@kkartunov do we really want this to be without timezone?
try { | ||
await this.paymentsService.reconcileUserPayments(user.id); | ||
} catch (e) { | ||
this.logger.error('Error reconciling user payments', e); |
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.
medium
maintainability
Consider including more context in the error log, such as the user ID, to aid in debugging.
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.
Looks good.
https://topcoder.atlassian.net/browse/PM-1345 - Trust module integration