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: hide resource `blob` field

boojack44d07ac4018a
diff --git a/api/resource.go b/api/resource.go
index 4589add1e..203fb027b 100644
--- a/api/resource.go
+++ b/api/resource.go
@@ -10,7 +10,7 @@ type Resource struct {
// Domain specific fields
Filename string `json:"filename"`
- Blob []byte `json:"blob"`
+ Blob []byte `json:"-"`
Type string `json:"type"`
Size int64 `json:"size"`
}