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

feat(comment): hide most of info in archived/banned comments #3757

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gary02
Copy link
Contributor

@gary02 gary02 commented Jan 12, 2024

No description provided.

@gary02 gary02 requested a review from a team as a code owner January 12, 2024 14:05
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (9ddd7bd) 58.21% compared to head (aee1516) 58.30%.
Report is 1 commits behind head on develop.

Files Patch % Lines
src/queries/comment/fromDonator.ts 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3757      +/-   ##
===========================================
+ Coverage    58.21%   58.30%   +0.08%     
===========================================
  Files          866      867       +1     
  Lines        17175    17216      +41     
  Branches      3163     3172       +9     
===========================================
+ Hits          9999    10038      +39     
- Misses        6495     6498       +3     
+ Partials       681      680       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gary02 gary02 force-pushed the feat/hide-archived-comment-info branch from e6786cf to aee1516 Compare January 12, 2024 14:45
return createdAt
} else {
// invalid date
return new Date(0)
Copy link
Contributor

Choose a reason for hiding this comment

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

should return null instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

createdAt: DateTime!
can not return null here without update schema

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