Convert buffer to string

This commit is contained in:
Sebass van Boxel 2020-11-06 09:38:38 +01:00
parent f3bbb83000
commit f6651c5728
No known key found for this signature in database
GPG key ID: A1E93D1FBDF515B7
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ async function run() {
let body;
if (path) {
body = readFileSync(path);
body = readFileSync(path, 'utf-8');
} else {
body = message;
}