Commit 8dafe7a6 authored by Diego Iván's avatar Diego Iván
Browse files

agregando tipo de dato de lo que retorna la funcion findAllByTown

parent 70714ad5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ export class PlaceService {
    }
  }

  async findAllByTown(idTown: number, lang: LANGUAGES) {
  async findAllByTown(idTown: number, lang: LANGUAGES): Promise<GetPlaceDto[]> {
    const res: any[] = await this.dataSource
      .getRepository(Place)
      .createQueryBuilder('place')