replaced fs.writeFile(photo) into the upload request callback, so it has access to photoId
Merge pull request #6 from AltitudeHK/backend

replaced fs.writeFile(photo) into the upload request callback, so it has...