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: add size for s3 resource (#1638)

Zeng1998885a0ddad052
diff --git a/server/resource.go b/server/resource.go
index f9d6a49c2..0ef551397 100644
--- a/server/resource.go
+++ b/server/resource.go
@@ -184,6 +184,7 @@ func (s *Server) registerResourceRoutes(g *echo.Group) {
CreatorID: userID,
Filename: filename,
Type: filetype,
+ Size: size,
ExternalLink: link,
}
} else {