import { Controller, Inject } from '@nestjs/common';
import { WINSTON_MODULE_PROVIDER } from 'nest-winston';
import { Logger } from 'winston';

@Controller('listings/undefined')
export class UnknownListingsController {
  constructor(@Inject(WINSTON_MODULE_PROVIDER) private readonly logger: Logger) {}

  // @Get(':id')
  // async findById(@Param('id') id: string): Promise<any> {
  //   const result = await this.listingsService.findById(id, businesses);
  //   if (result) {
  //     return result;
  //   } else {
  //     return await this.listingsService.findById(id, commercials);
  //   }
  // }
}
