Skip to content

Commit

Permalink
Lowercase methods in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Nov 29, 2022
1 parent 2e5ac1e commit b56f661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/auth0_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Auth0 Management API Docs:
https://auth0.com/docs/api/management/v2

Available Methods:
GET, POST, PUT, PATCH, DELETE
get, post, put, patch, delete

```
auth0 api <method> <uri> [flags]
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The method argument is optional, and when you don’t specify it, the command de
%s %s`,
"Auth0 Management API Docs:\n", apiDocsURL,
"Available Methods:\n", strings.Join(apiValidMethods, ", "),
"Available Methods:\n", strings.ToLower(strings.Join(apiValidMethods, ", ")),
),
Example: `auth0 api "/stats/daily" -q "from=20221101" -q "to=20221118"
auth0 api get "/tenants/settings"
Expand Down

0 comments on commit b56f661

Please sign in to comment.