aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-06-17 17:01:03 +0100
committerGitHub <noreply@github.com>2020-06-17 17:01:03 +0100
commit84a7881468a57bd4225f5c990c03b5fce729f914 (patch)
tree85fe798e3ac987e6199b97d4be96fa4b686286a3 /clientapi
parent9b408c19fbe3ca3908f9dcf44978d038fe0d230f (diff)
Make account data sytests pass (#1147)
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/routing/account_data.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go
index 875249b3..68e0dc5d 100644
--- a/clientapi/routing/account_data.go
+++ b/clientapi/routing/account_data.go
@@ -51,7 +51,7 @@ func GetAccountData(
); err == nil {
return util.JSONResponse{
Code: http.StatusOK,
- JSON: data,
+ JSON: data.Content,
}
}