diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 18:05:29 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 18:05:29 -0400 |
commit | dc0d9298fa09a45d53955d4171f1a62127523d2d (patch) | |
tree | bb33059c7ef0f944555de01b756b248bde8883e8 /pkg/api/api0 | |
parent | e8991ca7b88dfe34cd4e4d4d37299806486fca66 (diff) | |
download | Atlas-dc0d9298fa09a45d53955d4171f1a62127523d2d.tar.gz Atlas-dc0d9298fa09a45d53955d4171f1a62127523d2d.zip |
pkg/api/api0: Add comment about /accounts/get_username
Diffstat (limited to 'pkg/api/api0')
-rw-r--r-- | pkg/api/api0/accounts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/accounts.go b/pkg/api/api0/accounts.go index d40ec02..c70768a 100644 --- a/pkg/api/api0/accounts.go +++ b/pkg/api/api0/accounts.go @@ -309,6 +309,6 @@ func (h *Handler) handleAccountsGetUsername(w http.ResponseWriter, r *http.Reque respJSON(w, r, http.StatusOK, map[string]any{ "success": true, "uid": strconv.FormatUint(uid, 10), - "matches": []string{acct.Username}, + "matches": []string{acct.Username}, // yes, this may be an empty string if we don't know what it is }) } |