Move /v1 routes in deviceState.router to v1.ts

Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
Christina Ying Wang
2022-09-26 19:07:30 -07:00
parent a2d9af2407
commit ce5bf89dfc
5 changed files with 162 additions and 173 deletions

View File

@ -132,7 +132,7 @@ async function create(
// Create SupervisorAPI
const api = new SupervisorAPI({
routers: [v1.router, deviceState.router],
routers: [v1.router],
healthchecks,
});