fix: restore webhook setting conversion formatting

This commit is contained in:
memoclaw 2026-03-25 00:11:32 +08:00
parent 9cd4a79e49
commit beb0232a25
2 changed files with 7 additions and 16 deletions

View File

@ -77,15 +77,6 @@ func ExtractUserIDFromName(name string) (int32, error) {
return id, nil
}
// extractUserIdentifierFromName extracts the username token from a user resource name.
func extractUserIdentifierFromName(name string) string {
username, err := ExtractUsernameFromName(name)
if err != nil {
return ""
}
return username
}
// ExtractMemoUIDFromName returns the memo UID from a resource name.
// e.g., "memos/uuid" -> "uuid".
func ExtractMemoUIDFromName(name string) (string, error) {