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{