Compare commits
No commits in common. "a3155c588269e7865a75b195c747f39a1d2e16ba" and "51502bd694411fe34fe9f6dea90aead792eb94a6" have entirely different histories.
a3155c5882
...
51502bd694
2
node.go
2
node.go
@ -330,7 +330,6 @@ 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
|
||||||
@ -343,7 +342,6 @@ func UpdateNode(userID, nodeID int, content string, cryptoKeyID int, markdown bo
|
|||||||
cryptoKeyID,
|
cryptoKeyID,
|
||||||
nodeID,
|
nodeID,
|
||||||
userID,
|
userID,
|
||||||
markdown,
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user