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: disable decode patch id (#831)
boojackdca35bde877a
diff --git a/api/memo.go b/api/memo.goindex 29d0ebe66..01aa42ff0 100644--- a/api/memo.go+++ b/api/memo.go@@ -57,7 +57,7 @@ type MemoCreate struct {}type MemoPatch struct {- ID int+ ID int `json:"-"`// Standard fieldsCreatedTs *int64 `json:"createdTs"`diff --git a/api/resource.go b/api/resource.goindex b833f913c..90e47c7f7 100644--- a/api/resource.go+++ b/api/resource.go@@ -41,7 +41,7 @@ type ResourceFind struct {}type ResourcePatch struct {- ID int+ ID int `json:"-"`// Standard fieldsUpdatedTs *int64diff --git a/api/shortcut.go b/api/shortcut.goindex b4aa803a5..5eaedd3cc 100644--- a/api/shortcut.go+++ b/api/shortcut.go@@ -24,7 +24,7 @@ type ShortcutCreate struct {}type ShortcutPatch struct {- ID int+ ID int `json:"-"`// Standard fieldsUpdatedTs *int64diff --git a/api/user.go b/api/user.goindex 4e6afec02..529f3fc22 100644--- a/api/user.go+++ b/api/user.go@@ -69,7 +69,7 @@ func (create UserCreate) Validate() error {}type UserPatch struct {- ID int+ ID int `json:"-"`// Standard fieldsUpdatedTs *int64