Remove unnecessary change

This commit is contained in:
Neil Alexander 2022-03-09 10:17:21 +00:00
parent 0a3817170b
commit 927f6902eb
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -240,7 +240,7 @@ func GetVisibility(
req *http.Request, rsAPI roomserverAPI.RoomserverInternalAPI,
roomID string,
) util.JSONResponse {
res := roomserverAPI.QueryPublishedRoomsResponse{}
var res roomserverAPI.QueryPublishedRoomsResponse
err := rsAPI.QueryPublishedRooms(req.Context(), &roomserverAPI.QueryPublishedRoomsRequest{
RoomID: roomID,
}, &res)