aboutsummaryrefslogtreecommitdiff
path: root/federationapi/routing/profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/routing/profile.go')
-rw-r--r--federationapi/routing/profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/profile.go b/federationapi/routing/profile.go
index dbc209ce..f672811a 100644
--- a/federationapi/routing/profile.go
+++ b/federationapi/routing/profile.go
@@ -29,7 +29,7 @@ import (
// GetProfile implements GET /_matrix/federation/v1/query/profile
func GetProfile(
httpReq *http.Request,
- userAPI userapi.UserInternalAPI,
+ userAPI userapi.FederationUserAPI,
cfg *config.FederationAPI,
) util.JSONResponse {
userID, field := httpReq.FormValue("user_id"), httpReq.FormValue("field")