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: remove unused

Steven601013929146
diff --git a/plugin/webhook/webhook.go b/plugin/webhook/webhook.go
index 65d1874d9..0aa346833 100644
--- a/plugin/webhook/webhook.go
+++ b/plugin/webhook/webhook.go
@@ -17,18 +17,6 @@ var (
timeout = 30 * time.Second
)
-type Memo struct {
- ID int32 `json:"id"`
- CreatorID int32 `json:"creatorId"`
- CreatedTs int64 `json:"createdTs"`
- UpdatedTs int64 `json:"updatedTs"`
-
- // Domain specific fields
- Content string `json:"content"`
- Visibility string `json:"visibility"`
- Pinned bool `json:"pinned"`
-}
-
// WebhookPayload is the payload of webhook request.
// nolint
type WebhookPayload struct {