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

fix: parse body may cause JSON parse error while send markdown message #4

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

kuitos
Copy link
Contributor

@kuitos kuitos commented Jul 5, 2020

Seems like dingtalk not use a standard json parser to parse markdown message, thus it support a markdown type message which could not be parsed with JSON.parse.

Here is a case whose action was broken after v3 released https://github.com/remaxjs/remax/runs/834051717?check_suite_focus=true

ref pr zcong1993/ding-bot#1

This change is Reviewable

@kuitos kuitos changed the title fix: parse body not make sense and it would cause JSON parse error fix: parse body may cause JSON parse error while send markdown message Jul 5, 2020
@zcong1993 zcong1993 merged commit 5cf291c into zcong1993:master Jul 6, 2020
@kuitos kuitos deleted the fix/unnessary-json-parse branch July 6, 2020 03:29
zcong1993 added a commit that referenced this pull request Jul 6, 2020
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

2 participants