Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
control: Set, do not Add the test_clock (#271)
Browse files Browse the repository at this point in the history
This is only a superficial change.
  • Loading branch information
bmizerany committed Mar 3, 2023
1 parent 8d43747 commit cf75569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ func (c *Client) WhoIs(ctx context.Context, org string) (id string, err error) {
cid, err := c.cache.load(key, func() (string, error) {
var f stripe.Form
if clockID != "" {
f.Add("test_clock", clockID)
f.Set("test_clock", clockID)
}
cus, err := stripe.List[stripeCustomer](ctx, c.Stripe, "GET", "/v1/customers", f).
Find(func(v stripeCustomer) bool {
Expand Down

0 comments on commit cf75569

Please sign in to comment.