Fix ServiceManager.AddProfile signature

This commit is contained in:
Theodor S. Midtlien
2026-09-16 10:37:58 +02:00
parent 77cfc4ac4c
commit 45b30ef83d
7 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -2318,7 +2318,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)