Skip to content

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

Merged
merged 4 commits into from
Jun 16, 2025
Merged

Pm 1345 trolley trust module #71

merged 4 commits into from
Jun 16, 2025

Conversation

vas3a
Copy link
Collaborator

@vas3a vas3a commented Jun 16, 2025

@vas3a vas3a requested a review from kkartunov June 16, 2025 04:36
"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,

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.

Copy link
Collaborator Author

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);

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.

Copy link
Contributor

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

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

Looks good.

@vas3a vas3a merged commit 983158e into dev Jun 16, 2025
1 check passed
@vas3a vas3a deleted the PM-1345_trolley-trust-module branch June 16, 2025 06:44
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