Skip to content

Commit

Permalink
fix(cli): Environment token type and route (#3863)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar authored May 22, 2024
1 parent cd74df4 commit 86d4bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var (

envTokensClient = resourcemanager.NewClient(
httpClient, cliLogger,
"token", "tokens",
"token", "environmentokens",
resourcemanager.WithTableConfig(resourcemanager.TableConfig{
Cells: []resourcemanager.TableCellConfig{
{Header: "ID", Path: "spec.id"},
Expand All @@ -68,7 +68,7 @@ var (
{Header: "EXPIRES AT", Path: "spec.expiresAt"},
},
}),
resourcemanager.WithResourceType("Token"),
resourcemanager.WithResourceType("EnvironmentToken"),
)

orgInvitesClient = resourcemanager.NewClient(
Expand Down

0 comments on commit 86d4bc3

Please sign in to comment.