Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andymina committed Feb 20, 2021
1 parent 47908f6 commit b29eadd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed dog.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const saveFile = async (bytes) => {
// convert bytes back into raw data
file.bytes = Buffer.from(file.bytes.data);
// write the file
await fs.writeFile('1' + file.name, file.bytes);
await fs.writeFile(file.name, file.bytes);
// confirm
console.log(`${file.name} saved`);
}
Expand Down

0 comments on commit b29eadd

Please sign in to comment.