diff --git a/node.go b/node.go index 941fb4a..12b3949 100644 --- a/node.go +++ b/node.go @@ -330,6 +330,7 @@ func UpdateNode(userID, nodeID int, content string, cryptoKeyID int, markdown bo SET content = $1, content_encrypted = '', + markdown = $5, crypto_key_id = CASE $2::int WHEN 0 THEN NULL ELSE $2 @@ -342,6 +343,7 @@ func UpdateNode(userID, nodeID int, content string, cryptoKeyID int, markdown bo cryptoKeyID, nodeID, userID, + markdown, ) } diff --git a/version b/version index 3f430af..62ccda5 100644 --- a/version +++ b/version @@ -1 +1 @@ -v18 +v19