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

make sure dingtalk notify always produce valid json #469

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

suchen-sci
Copy link
Contributor

As discussed in #467 , DingTalk may return error code of 40035 (potential caused by invalid json payload). This pr use golang struct to make sure that payload is valid json even meet some specially characters.

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2024

Codecov Report

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

Comparison is base (8c0a606) 99.17% compared to head (01aff5c) 98.99%.

Files Patch % Lines
notify/dingtalk/dingtalk.go 66.66% 3 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
- Coverage   99.17%   98.99%   -0.19%     
==========================================
  Files          82       85       +3     
  Lines        5818     5844      +26     
==========================================
+ Hits         5770     5785      +15     
- Misses         36       44       +8     
- Partials       12       15       +3     

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

@suchen-sci suchen-sci merged commit dcd5dd5 into megaease:main Jan 10, 2024
6 checks passed
@suchen-sci suchen-sci deleted the dingtalk-json branch January 10, 2024 03:59
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.

None yet

3 participants