mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-10 22:43:11 +08:00
Trim icon name. Filter private bookmarks if user is not authenticated
This commit is contained in:
@@ -9,7 +9,7 @@ const createApp = asyncWrapper(async (req, res, next) => {
|
||||
const { pinAppsByDefault } = await loadConfig();
|
||||
|
||||
let app;
|
||||
let _body = { ...req.body };
|
||||
let _body = { ...req.body, icon: req.body.icon.trim() };
|
||||
|
||||
if (req.file) {
|
||||
_body.icon = req.file.filename;
|
||||
|
||||
Reference in New Issue
Block a user