1
0
Fork 0

Doc - Fixx Foxx Files example

This commit is contained in:
Simran 2019-05-06 12:37:15 +02:00 committed by GitHub
parent 5b8da9cc9f
commit 431537d352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ as a `Buffer` to a base64-encoded string:
router.post('/avatars/:filename', (req, res) => {
collection.save({
filename: req.pathParams.filename,
data: req.body.toString('base64');
data: req.body.toString('base64')
});
res.status('no content');
});