Skip to content

armgit / memos

Public Imported from GitHub
0

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.

chore: update comments of find memo

johnnyjoy5bbf57ece475
diff --git a/store/memo.go b/store/memo.go
index ce95412da..e8513fa4d 100644
--- a/store/memo.go
+++ b/store/memo.go
@@ -76,12 +76,13 @@ type FindMemo struct {
Random bool
// Pagination
- Limit *int
- Offset *int
+ Limit *int
+ Offset *int
+
+ // Ordering
OrderByUpdatedTs bool
OrderByPinned bool
-
- OrderByTimeAsc bool
+ OrderByTimeAsc bool
}
type FindMemoPayload struct {