aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user/user_new.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/user/user_new.go')
-rw-r--r--commands/user/user_new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/user/user_new.go b/commands/user/user_new.go
index d7224512..7b287492 100644
--- a/commands/user/user_new.go
+++ b/commands/user/user_new.go
@@ -69,7 +69,7 @@ func runUserNew(env *execenv.Env, opts userNewOptions) error {
}
}
- id, err := env.Backend.NewIdentityRaw(opts.name, opts.email, "", opts.avatarURL, nil, nil)
+ id, err := env.Backend.Identities().NewRaw(opts.name, opts.email, "", opts.avatarURL, nil, nil)
if err != nil {
return err
}