fix: properly register the api with hipache