aboutsummaryrefslogtreecommitdiff
path: root/userapi/inthttp/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/inthttp/client.go')
-rw-r--r--userapi/inthttp/client.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/userapi/inthttp/client.go b/userapi/inthttp/client.go
index aa5d46d9..87ae058c 100644
--- a/userapi/inthttp/client.go
+++ b/userapi/inthttp/client.go
@@ -355,11 +355,12 @@ func (h *httpUserInternalAPI) SetAvatarURL(
func (h *httpUserInternalAPI) QueryNumericLocalpart(
ctx context.Context,
+ request *api.QueryNumericLocalpartRequest,
response *api.QueryNumericLocalpartResponse,
) error {
return httputil.CallInternalRPCAPI(
"QueryNumericLocalpart", h.apiURL+QueryNumericLocalpartPath,
- h.httpClient, ctx, &struct{}{}, response,
+ h.httpClient, ctx, request, response,
)
}