[backend] fix /published route when there is a partition