Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Feb 1, 2025
1 parent 0dcd090 commit 45c16f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/router/api/v1/resource_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 45c16f9

Please sign in to comment.