Compare commits
2 commits
51502bd694
...
a3155c5882
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3155c5882 | ||
|
|
60c6d4eaba |
2 changed files with 3 additions and 1 deletions
2
node.go
2
node.go
|
|
@ -330,6 +330,7 @@ func UpdateNode(userID, nodeID int, content string, cryptoKeyID int, markdown bo
|
||||||
SET
|
SET
|
||||||
content = $1,
|
content = $1,
|
||||||
content_encrypted = '',
|
content_encrypted = '',
|
||||||
|
markdown = $5,
|
||||||
crypto_key_id = CASE $2::int
|
crypto_key_id = CASE $2::int
|
||||||
WHEN 0 THEN NULL
|
WHEN 0 THEN NULL
|
||||||
ELSE $2
|
ELSE $2
|
||||||
|
|
@ -342,6 +343,7 @@ func UpdateNode(userID, nodeID int, content string, cryptoKeyID int, markdown bo
|
||||||
cryptoKeyID,
|
cryptoKeyID,
|
||||||
nodeID,
|
nodeID,
|
||||||
userID,
|
userID,
|
||||||
|
markdown,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
version
2
version
|
|
@ -1 +1 @@
|
||||||
v18
|
v19
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue