Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
377 B
2
Indexable
Never
@Post("/local")
  async run_db_first(
    @Req() req: Request,
    @Res() res: Response,
    @Body(ValidationPipe, new CredentialsValidationPipe()) body: LinkedInSearchDto
  ):Promise<ShortCandidateInformationDto[]>{
    req.socket.on('close', () => {
      console.log("Req cancelado");
      res.end();
    })
    return await this.facadeService.performLocalSearch(body);
  }