Untitled

 avatar
unknown
plain_text
3 years ago
377 B
4
Indexable
@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);
  }
Editor is loading...