은승우

Update app.js

Showing 1 changed file with 2 additions and 2 deletions
...@@ -87,8 +87,8 @@ async function handleEvent(event) { ...@@ -87,8 +87,8 @@ async function handleEvent(event) {
87 .then((stream) => { 87 .then((stream) => {
88 stream.on('data', (chunk) => { 88 stream.on('data', (chunk) => {
89 const fs = require('fs'); 89 const fs = require('fs');
90 - const file = fs.writeFileSync('./photo/image.jpeg',chunk); 90 + fs.writeFileSync('./photo/image.jpeg',chunk);
91 - 91 + });
92 }); 92 });
93 var cheerio = require('cheerio'); 93 var cheerio = require('cheerio');
94 94
......