Fixed error due to Router app's endpoints.json format changes