Skip to content

Commit

Permalink
remove user from GetServiceTokenDetailsResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Apr 10, 2023
1 parent 802cb80 commit 8a67549
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions cli/packages/api/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,19 +230,10 @@ type GetEncryptedSecretsV2Response struct {
}

type GetServiceTokenDetailsResponse struct {
ID string `json:"_id"`
Name string `json:"name"`
Workspace string `json:"workspace"`
Environment string `json:"environment"`
User struct {
ID string `json:"_id"`
Email string `json:"email"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
V int `json:"__v"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
} `json:"user"`
ID string `json:"_id"`
Name string `json:"name"`
Workspace string `json:"workspace"`
Environment string `json:"environment"`
ExpiresAt time.Time `json:"expiresAt"`
EncryptedKey string `json:"encryptedKey"`
Iv string `json:"iv"`
Expand Down

0 comments on commit 8a67549

Please sign in to comment.