refactor: bind NodeService to a user and expose User() on the interface

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 23:18:36 +02:00
parent cb16bda200
commit 4a2e868150
2 changed files with 14 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ func mentions(t string) []string {
return slices.Collect(maps.Keys(seen))
}
func (s *nodeServiceImpl) User() string { return s.userID }
// --- Validation ---
var (