Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit b24b4c4

Browse files
committed
fixup! fixup! Move user flag to entclient req options
1 parent c3d6592 commit b24b4c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/coder/ceapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func getEnvs(ctx context.Context, client *entclient.Client, email string) ([]ent
5858
}
5959

6060
// findEnv returns a single environment by name (if it exists.)
61-
func findEnv(ctx context.Context, client *entclient.Client, userEmail, envName string) (*entclient.Environment, error) {
61+
func findEnv(ctx context.Context, client *entclient.Client, envName, userEmail string) (*entclient.Environment, error) {
6262
envs, err := getEnvs(ctx, client, userEmail)
6363
if err != nil {
6464
return nil, xerrors.Errorf("get environments: %w", err)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy