-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Description
This is the message pattern the repo is using
| 'authorization:github:${status}:${JSON.stringify(content)}', |
which will return messages like authorization:github:success:"data: gho_xxxxxxx"
and decap is now using JSON.parse to parse this field of information, see
JSON.parse("data: gho_xxxxxxx") returns a string type variable which will cause decap cannot get the access_token.
My Solution to this
// ...
'authorization:github:${status}:${content}',
// ...
const responseBody = renderBody('success', `{"token":"${token}"}`)
// ...Metadata
Metadata
Assignees
Labels
No labels