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: fix linter

johnnyjoy45c16f9d52e1
diff --git a/server/router/api/v1/resource_name.go b/server/router/api/v1/resource_name.go
index 32d1b9e02..9f342168a 100644
--- a/server/router/api/v1/resource_name.go
+++ b/server/router/api/v1/resource_name.go
@@ -62,7 +62,7 @@ func ExtractUserIDFromName(name string) (int32, error) {
}
// ExtractMemoUIDFromName returns the memo UID from a resource name.
-// e.g., "memos/uuid" -> "uuid"
+// e.g., "memos/uuid" -> "uuid".
func ExtractMemoUIDFromName(name string) (string, error) {
tokens, err := GetNameParentTokens(name, MemoNamePrefix)
if err != nil {