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 resource tests
Stevendca712d273f2
diff --git a/store/resource.go b/store/resource.goindex ae3b9709a..4d9979455 100644--- a/store/resource.go+++ b/store/resource.go@@ -89,6 +89,9 @@ func (s *Store) DeleteResource(ctx context.Context, delete *DeleteResource) erroif err != nil {return errors.Wrap(err, "failed to get resource")}+ if resource == nil {+ return errors.Wrap(nil, "resource not found")+ }// Delete the local file.if resource.InternalPath != "" {