feat: agregar funcionalidad para obtener organizaciones públicas y actualizar el sitemap con rutas dinámicas
This commit is contained in:
@@ -72,6 +72,8 @@ export class CompaniesAdapterMongoose implements ICompaniesAdapter {
|
||||
showPublicProfessionals: { type: Boolean, required: false, default: true },
|
||||
});
|
||||
|
||||
this.schema.index({ published: 1, banned: 1 });
|
||||
|
||||
this.companyList = model<ICompanyDocument>("Company", this.schema);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user