Skip to content

Commit 31f2cce

Browse files
authoredJan 21, 2025
fix: add service user org id in the get user response (#855)
1 parent 0ddf83c commit 31f2cce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎internal/api/v1beta1/user.go

+1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ func (h Handler) GetCurrentUser(ctx context.Context, request *frontierv1beta1.Ge
210210
Id: principal.ServiceUser.ID,
211211
Title: principal.ServiceUser.Title,
212212
State: principal.ServiceUser.State,
213+
OrgId: principal.ServiceUser.OrgID,
213214
Metadata: nil,
214215
CreatedAt: timestamppb.New(principal.ServiceUser.CreatedAt),
215216
UpdatedAt: timestamppb.New(principal.ServiceUser.UpdatedAt),

0 commit comments

Comments
 (0)