Skip to content

Commit 58dc630

Browse files
authored
make org JWKS template endpoint a POST request (#1054)
2 parents e149f69 + aa93341 commit 58dc630

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/turso/organizations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (c *OrganizationsClient) JwksTemplate(org string, param OrgJwksTemplatePara
201201
if err != nil {
202202
return "", fmt.Errorf("failed to marshal jwks template request body: %s", err)
203203
}
204-
r, err := c.client.Get(fmt.Sprintf("/v2/organizations/%v/jwks-template", org), request)
204+
r, err := c.client.Post(fmt.Sprintf("/v2/organizations/%v/jwks-template", org), request)
205205
if err != nil {
206206
return "", fmt.Errorf("failed to get org jwks template: %w", err)
207207
}

0 commit comments

Comments
 (0)