diff --git a/src/app.ts b/src/app.ts index dd2c19bce..b69cc0a23 100644 --- a/src/app.ts +++ b/src/app.ts @@ -941,7 +941,10 @@ function registerAPIRoutes( app.get( `${basePath}/services`, bearerSessionTokenAuth, - toExpressHandler(servicesController.getVisibleServices, servicesController) + toExpressHandler( + (_) => Promise.resolve(ResponseSuccessJson({ items: [] })), + servicesController + ) ); app.put( diff --git a/src/controllers/servicesController.ts b/src/controllers/servicesController.ts index ae41c0673..baa713a7f 100644 --- a/src/controllers/servicesController.ts +++ b/src/controllers/servicesController.ts @@ -93,6 +93,7 @@ export default class ServicesController { /** * Get visible services * + * @deprecated * @param _ * @returns */ diff --git a/src/services/functionAppService.ts b/src/services/functionAppService.ts index 569a476d9..079f0e8b6 100644 --- a/src/services/functionAppService.ts +++ b/src/services/functionAppService.ts @@ -161,6 +161,9 @@ export default class FunctionsAppService { ); }); + /** + * @deprecated + */ public readonly getVisibleServices = (): Promise< | IResponseErrorInternal | IResponseErrorTooManyRequests