diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go index e80f10d1c..f2fc8e127 100644 --- a/clientapi/routing/account_data.go +++ b/clientapi/routing/account_data.go @@ -31,7 +31,7 @@ import ( // GetAccountData implements GET /user/{userId}/[rooms/{roomid}/]account_data/{type} func GetAccountData( - req *http.Request, accountDB accounts.Database, device *authtypes.Device, + req *http.Request, accountDB *accounts.Database, device *authtypes.Device, userID string, roomID string, dataType string, ) util.JSONResponse { if userID != device.UserID {