Skip to content

Commit

Permalink
stub GetVisibleServices API (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodoviti authored Oct 8, 2024
1 parent cbd30d3 commit 82114b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,10 @@ function registerAPIRoutes(
app.get(
`${basePath}/services`,
bearerSessionTokenAuth,
toExpressHandler(servicesController.getVisibleServices, servicesController)
toExpressHandler(
(_) => Promise.resolve(ResponseSuccessJson({ items: [] })),
servicesController
)
);

app.put(
Expand Down
1 change: 1 addition & 0 deletions src/controllers/servicesController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default class ServicesController {
/**
* Get visible services
*
* @deprecated
* @param _
* @returns
*/
Expand Down
3 changes: 3 additions & 0 deletions src/services/functionAppService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ export default class FunctionsAppService {
);
});

/**
* @deprecated
*/
public readonly getVisibleServices = (): Promise<
| IResponseErrorInternal
| IResponseErrorTooManyRequests
Expand Down

0 comments on commit 82114b4

Please sign in to comment.