From 32dc5576ea2455c0adfe337351d53c076b667429 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Mon, 9 Oct 2023 06:01:26 +0200 Subject: [PATCH] :wrench: Fix typo --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")}`], ]);