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 })
|
||||
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 };
|
||||
}
|
||||
//-----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user