diff --git a/index.js b/index.js index 9835208..13397c1 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ async function updateGist(body) { const headers = new Headers([ ["Content-Type", "application/json"], - ["Content-Length", body.length.toStrinq()], + ["Content-Length", body.length.toString()], ["User-Agent", "Schneegans"], ["Authorization", `token ${core.getInput("auth")}`], ]);