chore: chanage the map url to the text in entity of company

This commit is contained in:
mahyargdz
2025-05-31 16:03:46 +03:30
parent 403eadad22
commit 4ca50a73bb
2 changed files with 2 additions and 1 deletions
@@ -33,7 +33,7 @@ export class Company extends BaseEntity {
@Property({ type: "varchar", length: 255 })
address!: string;
@Property({ type: "varchar", length: 255 })
@Property({ type: "text" })
mapAddressLink!: string;
@Property({ type: "text", nullable: false })
@@ -192,6 +192,7 @@ export class CompaniesService {
async getCompaniesListPublic(queryDto: CompanyListPublicQueryDto, businessId: string) {
const companies = await this.companyRepository.getCompaniesListForPublic(queryDto, businessId);
return { companies };
}
//-----------------------------------