Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: fix update user
Steven7eb5be0a4e23
diff --git a/store/db/postgres/user.go b/store/db/postgres/user.goindex c0a300dc1..8941920a3 100644--- a/store/db/postgres/user.go+++ b/store/db/postgres/user.go@@ -49,7 +49,7 @@ func (d *DB) UpdateUser(ctx context.Context, update *store.UpdateUser) (*store.U// Conditionally add set clausesif v := update.UpdatedTs; v != nil {- builder = builder.Set("updated_ts", squirrel.Expr("to_timestamp(?)", *v))+ builder = builder.Set("updated_ts", *v)}if v := update.RowStatus; v != nil {builder = builder.Set("row_status", *v)