mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 22:34:23 +01:00
the req.body value from "routes/api/branches" actually seems to never get parsed into a JS object, but arrives as text string, so req.body.prefix could be undefined, which of course would cause an error to be thrown, when trying to call "match" on undefined.