You've already forked dynamic-badges-action
🪲 Fix emoji labels or messages
This commit is contained in:
2
index.js
2
index.js
@@ -14,7 +14,7 @@ const gistUrl = new URL(core.getInput("gistID"), core.getInput("host"));
|
||||
async function updateGist(body) {
|
||||
const headers = new Headers([
|
||||
["Content-Type", "application/json"],
|
||||
["Content-Length", body.length],
|
||||
["Content-Length", new TextEncoder().encode(body).length],
|
||||
["User-Agent", "Schneegans"],
|
||||
["Authorization", `token ${core.getInput("auth")}`],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user