From 63c7ded34fad3190b0fec0f15cc2b7b7c65cfbc3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 29 Jan 2020 17:36:26 +0000 Subject: [PATCH] Fix accountDB parameter --- clientapi/routing/account_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {