From c5247d390f801a3a9e089e10d31fdecff8eada0a Mon Sep 17 00:00:00 2001 From: Dan Peleg Date: Mon, 3 May 2021 21:45:22 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Test=206=20Pushers=20created=20with?= =?UTF-8?q?=20a=20different=20access=20token=20are=20deleted=20on=20passwo?= =?UTF-8?q?rd=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clientapi/routing/pusher.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clientapi/routing/pusher.go b/clientapi/routing/pusher.go index d21bea6d..1739103a 100644 --- a/clientapi/routing/pusher.go +++ b/clientapi/routing/pusher.go @@ -59,7 +59,9 @@ func GetPushersByLocalpart( return jsonerror.InternalServerError() } - res := pushersJSON{} + res := pushersJSON{ + Pushers: []pusherJSON{}, + } for _, pusher := range queryRes.Pushers { res.Pushers = append(res.Pushers, pusherJSON{