Vizzuality/landgriffon

View on GitHub
api/src/app.controller.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Controller, Request } from '@nestjs/common';
import { User } from 'modules/users/user.entity';

// Request object augmented with user data
export interface RequestWithAuthenticatedUser extends Request {
  user: User;
}

@Controller()
export class AppController {
  constructor(private readonly _service: any) {}
}