1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-01 00:45:18 +02:00

Add custom icons to bookmarks (#5)

* allow custom icons for bookmarks

* update docker-image action to tag images based on source branch
This commit is contained in:
François Darveau 2021-06-27 15:17:23 -04:00 committed by François Darveau
parent de51659647
commit d020fd4c0f
3 changed files with 13 additions and 8 deletions

View file

@ -13,6 +13,12 @@ exports.createBookmark = asyncWrapper(async (req, res, next) => {
});
let bookmark;
let _body = { ...req.body };
if (req.file) {
_body.icon = req.file.filename;
}
let _body = {
...req.body,