diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-14 17:14:15 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-14 17:14:15 -0400 |
commit | 6c595de7e166be7154f3524b8c24818e2e88b78d (patch) | |
tree | 4a4f7d55e0ac34abaa9093a9f26ce0ac940ebf85 /pkg/api | |
parent | 7c46a0dc05c85a62f19a72bafca37a711c17621e (diff) | |
download | Atlas-6c595de7e166be7154f3524b8c24818e2e88b78d.tar.gz Atlas-6c595de7e166be7154f3524b8c24818e2e88b78d.zip |
pkg/api/api0: Fix resp json id type for /client/auth_with_self
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/api0/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/client.go b/pkg/api/api0/client.go index f0f812a..f72a874 100644 --- a/pkg/api/api0/client.go +++ b/pkg/api/api0/client.go @@ -383,7 +383,7 @@ func (h *Handler) handleClientAuthWithSelf(w http.ResponseWriter, r *http.Reques obj := map[string]any{ "success": true, - "id": acct.UID, + "id": strconv.FormatUint(acct.UID, 10), } // the way we encode this is utterly absurd and inefficient, but we need to do it for backwards compatibility |