aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-19 09:29:53 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-19 09:29:53 -0400
commit777447ee8cb515b25de36109f4ee75697157a93e (patch)
tree1a2074b4459be4b708c7961d54c1a0137961ca39 /pkg/api/api0
parent4d1f3137d7aeebabd3298cb219a252cc457b473d (diff)
downloadAtlas-777447ee8cb515b25de36109f4ee75697157a93e.tar.gz
Atlas-777447ee8cb515b25de36109f4ee75697157a93e.zip
pkg/api/api0: Fix /accounts/lookup_uid success response
Diffstat (limited to 'pkg/api/api0')
-rw-r--r--pkg/api/api0/accounts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/accounts.go b/pkg/api/api0/accounts.go
index f6bb731..ed95ad1 100644
--- a/pkg/api/api0/accounts.go
+++ b/pkg/api/api0/accounts.go
@@ -220,7 +220,7 @@ func (h *Handler) handleAccountsLookupUID(w http.ResponseWriter, r *http.Request
h.m().accounts_lookupuid_requests_total.success_multimatch.Inc()
}
respJSON(w, r, http.StatusOK, map[string]any{
- "success": false,
+ "success": true,
"username": username,
"matches": uids,
})