Skip to content

Commit

Permalink
Remove project_name field (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Icerzack authored Feb 21, 2024
1 parent 53e8437 commit 49a928d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions service/serviceusers/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ type ServiceUser struct {
}

type Role struct {
ProjectID string `json:"project_id,omitempty"`
ProjectName string `json:"project_name,omitempty"`
RoleName RoleName `json:"role_name"`
Scope Scope `json:"scope"`
ProjectID string `json:"project_id,omitempty"`
RoleName RoleName `json:"role_name"`
Scope Scope `json:"scope"`
}

// CreateRequest is used to set options for Create method.
Expand Down
7 changes: 3 additions & 4 deletions service/users/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ type Federation struct {
}

type Role struct {
ProjectID string `json:"project_id,omitempty"`
ProjectName string `json:"project_name,omitempty"`
RoleName RoleName `json:"role_name"`
Scope Scope `json:"scope"`
ProjectID string `json:"project_id,omitempty"`
RoleName RoleName `json:"role_name"`
Scope Scope `json:"scope"`
}

// CreateRequest is used to set options for Create method.
Expand Down

0 comments on commit 49a928d

Please sign in to comment.