hedgedoc/lib/models
Erik Michelson 3808c08c2d
Fix note creation in FreeURL mode not using template
As explained in #391, the previous note creation logic didn't handle the case "alias is set, but it's not a file on disk". The fix introduces a separate if-statement for this scenario at the cost of a doubled filesystem read access.

Co-Authored-By: @evanlinde
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-02-02 00:38:54 +01:00
..
author.js fix: upgrade sequelize to latest version to fix CVE 2019-06-11 00:41:50 +02:00
index.js fix: upgrade sequelize to latest version to fix CVE 2019-06-11 00:41:50 +02:00
note.js Fix note creation in FreeURL mode not using template 2021-02-02 00:38:54 +01:00
revision.js fix: upgrade sequelize to latest version to fix CVE 2019-06-11 00:41:50 +02:00
temp.js Use strict mode in all backend files 2017-03-14 13:02:43 +08:00
user.js fix: upgrade sequelize to latest version to fix CVE 2019-06-11 00:41:50 +02:00