/** * NestVaultClientController is a testing controller that verifies that * NestVaultModule was generated properly. * * You can quickly verify this by running `npm run start:dev`, and then * connecting to `http://localhost:3000` with your browser. It should return * a custom message like `Hello from NestVaultModule`. * * Once you begin customizing NestVaultModule, you'll probably want * to delete this controller. */ import { Controller, Get, Inject } from '@nestjs/common'; import { VAULT_CONNECTION } from '../constants'; @Controller() export class NestVaultClientController { constructor(@Inject(VAULT_CONNECTION) private readonly vault) {} @Get() async index() { return await this.vault.healthCheck(); } }