Skip to content

Commit

Permalink
🪲 Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Oct 9, 2023
1 parent 36f7335 commit e193485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -16,7 +16,7 @@ async function updateGist(body) {
console.log(body);
console.log(body.length);

const length = new TextEncoder().encode("foo").length;
const length = new TextEncoder().encode(body).length;
console.log(length);

const headers = new Headers([
Expand Down

0 comments on commit e193485

Please sign in to comment.