aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/api0')
-rw-r--r--pkg/api/api0/client.go2
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