+5
-4
cmd/stress/main.go
+5
-4
cmd/stress/main.go
···
51
51
rand.Read(buf)
52
52
id := hex.EncodeToString(buf)
53
53
54
-
acc, err := atp.CreateAccount(ctx, fmt.Sprintf("user-%s@test.com", id), "user-"+id+".test", "password")
54
+
var invite *string
55
+
acc, err := atp.CreateAccount(ctx, fmt.Sprintf("user-%s@test.com", id), "user-"+id+".test", "password", invite)
55
56
if err != nil {
56
57
return err
57
58
}
···
59
60
quiet := cctx.Bool("quiet")
60
61
61
62
atp.C.Auth = &xrpc.AuthInfo{
62
-
Did: acc.Did,
63
-
Jwt: acc.AccessJwt,
64
-
Username: acc.Handle,
63
+
Did: acc.Did,
64
+
AccessJwt: acc.AccessJwt,
65
+
Handle: acc.Handle,
65
66
}
66
67
67
68
count := cctx.Int("count")