From ee5cdb845806c172864e986c2ef8dc5cf8650a4f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 29 Jan 2020 17:57:16 +0000 Subject: [PATCH] Fix accountDB storage interfaces --- 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 1e9aa49ed..8ae9de2d5 100644 --- a/clientapi/routing/account_data.go +++ b/clientapi/routing/account_data.go @@ -30,7 +30,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 {