Skip to content

Commit d6537e5

Browse files
committed
Update path for the /keys update endpoint
1 parent 05aef3f commit d6537e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ func (c *Client) GetClientKeys(o Organization, p Project) ([]Key, error) {
6969
func (c *Client) SetClientKeyRateLimit(o Organization, p Project, k Key, count, window int) (Key, error) {
7070
var key Key
7171
req := &Key{RateLimit: &KeyRateLimit{Count: count, Window: window}}
72-
err := c.do("PUT", fmt.Sprintf("project/%s/%s/keys/%s", *o.Slug, *p.Slug, k.ID), &key, &req)
72+
err := c.do("PUT", fmt.Sprintf("projects/%s/%s/keys/%s", *o.Slug, *p.Slug, k.ID), &key, &req)
7373
return key, err
7474
}

0 commit comments

Comments
 (0)