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
fix: missing creator id in shortcut cache (#915)
Stephen Zhou529c9b34a726
diff --git a/store/shortcut.go b/store/shortcut.goindex 05fa0d691..b56d2efef 100644--- a/store/shortcut.go+++ b/store/shortcut.go@@ -217,13 +217,14 @@ func patchShortcut(ctx context.Context, tx *sql.Tx, patch *api.ShortcutPatch) (*UPDATE shortcutSET ` + strings.Join(set, ", ") + `WHERE id = ?- RETURNING id, title, payload, created_ts, updated_ts, row_status+ RETURNING id, title, payload, creator_id, created_ts, updated_ts, row_status`var shortcutRaw shortcutRawif err := tx.QueryRowContext(ctx, query, args...).Scan(&shortcutRaw.ID,&shortcutRaw.Title,&shortcutRaw.Payload,+ &shortcutRaw.CreatorID,&shortcutRaw.CreatedTs,&shortcutRaw.UpdatedTs,&shortcutRaw.RowStatus,