chore: chanage the map url to the text in entity of company
This commit is contained in:
@@ -33,7 +33,7 @@ export class Company extends BaseEntity {
|
|||||||
@Property({ type: "varchar", length: 255 })
|
@Property({ type: "varchar", length: 255 })
|
||||||
address!: string;
|
address!: string;
|
||||||
|
|
||||||
@Property({ type: "varchar", length: 255 })
|
@Property({ type: "text" })
|
||||||
mapAddressLink!: string;
|
mapAddressLink!: string;
|
||||||
|
|
||||||
@Property({ type: "text", nullable: false })
|
@Property({ type: "text", nullable: false })
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ export class CompaniesService {
|
|||||||
|
|
||||||
async getCompaniesListPublic(queryDto: CompanyListPublicQueryDto, businessId: string) {
|
async getCompaniesListPublic(queryDto: CompanyListPublicQueryDto, businessId: string) {
|
||||||
const companies = await this.companyRepository.getCompaniesListForPublic(queryDto, businessId);
|
const companies = await this.companyRepository.getCompaniesListForPublic(queryDto, businessId);
|
||||||
|
|
||||||
return { companies };
|
return { companies };
|
||||||
}
|
}
|
||||||
//-----------------------------------
|
//-----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user