mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed item titles
This commit is contained in:
parent
e5d60f2e33
commit
364f6b165e
4 changed files with 8 additions and 6 deletions
|
@ -8,7 +8,7 @@ module.exports = async (req, res) => {
|
|||
const owner = await User.findOne({ _id: id, token }).populate('routes');
|
||||
if (!owner) return res.send({ success: false, reason: 'unauthorized', id, token });
|
||||
|
||||
const title = parseString(body.title, 32);
|
||||
const title = parseString(body.title, 64);
|
||||
const address = parseString(body.address, 32);
|
||||
const route = parseRoute(body.route);
|
||||
const stickers = parseStickers(body.stickers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue