Fix ServiceManager.AddProfile signature

This commit is contained in:
Theodor S. Midtlien
2026-09-03 14:10:41 +02:00
parent 70f075806b
commit 36ba4ef091
7 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -2289,7 +2289,7 @@ func (s *Server) AddProfile(ctx context.Context, msg *proto.AddProfileRequest) (
if !ok {
return nil, fmt.Errorf("failed to get identity from context")
}
created, err := s.profileManager.AddProfile(msg.ProfileName, msg.Username, callerId)
created, err := s.profileManager.AddProfile(msg.ProfileName, msg.Username, &callerId)
if err != nil {
log.Errorf("failed to create profile: %v", err)
return nil, fmt.Errorf("failed to create profile: %w", err)