Fixed broken "refresh" endpoint (was using static access instead reference).