Compare commits
No commits in common. "8039dfaf4238023f6b056fb1b77a8c0629e7fa6d" and "9d45d87ef367697ad5d542b67ba2e34a236d1322" have entirely different histories.
8039dfaf42
...
9d45d87ef3
2 changed files with 1 additions and 5 deletions
4
node.go
4
node.go
|
|
@ -325,10 +325,6 @@ func CreateNode(userID, parentID int, name string) (node Node, err error) { // {
|
||||||
return
|
return
|
||||||
} // }}}
|
} // }}}
|
||||||
func UpdateNode(userID, nodeID, timeOffset int, content string, cryptoKeyID int, markdown bool) (err error) { // {{{
|
func UpdateNode(userID, nodeID, timeOffset int, content string, cryptoKeyID int, markdown bool) (err error) { // {{{
|
||||||
if nodeID == 0 {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var timezone string
|
var timezone string
|
||||||
row := service.Db.Conn.QueryRow(`SELECT timezone FROM _webservice.user WHERE id=$1`, userID)
|
row := service.Db.Conn.QueryRow(`SELECT timezone FROM _webservice.user WHERE id=$1`, userID)
|
||||||
err = row.Scan(&timezone)
|
err = row.Scan(&timezone)
|
||||||
|
|
|
||||||
2
version
2
version
|
|
@ -1 +1 @@
|
||||||
v28
|
v27
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue