Compare commits

...

2 Commits

Author SHA1 Message Date
Magnus Åhall
8039dfaf42 Bumped to v28 2024-04-18 20:08:25 +02:00
Magnus Åhall
0dcc1e1fd9 Fixed bug deleting all schedules 2024-04-18 20:08:07 +02:00
2 changed files with 5 additions and 1 deletions

View File

@ -325,6 +325,10 @@ 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)

View File

@ -1 +1 @@
v27 v28