Skip to content

Commit

Permalink
Clarify what "User" refers to in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed May 28, 2024
1 parent 603c4d2 commit 4188f6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/goatcounter/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Overview:
$ goatcounter import -site=https://stats.example.com export.csv.gz
You can create an API key with "goatcounter db create apikey -count", or
from the web interface in "User → API" from the top-right menu.
from the web interface in "[Username in top menu] → API" from the top-right
menu.
You must give one filename to import; use - to read from stdin:
Expand Down
2 changes: 1 addition & 1 deletion tpl/help/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ notification of this to everyone who has generated an API key.

Authentication
--------------
To use the API create a key in your account (`User → API`); send the API key in
To use the API create a key in your account (`[Username in top menu] → API`); send the API key in
the `Authorization` header as `Authorization: Bearer [token]`. You will need to
use `Content-Type: application/json`; all requests return JSON unless noted
otherwise.
Expand Down

0 comments on commit 4188f6d

Please sign in to comment.