made minor fixes
This commit is contained in:
@@ -90,7 +90,7 @@ export class PrePopulateService {
|
||||
}
|
||||
|
||||
async getAllDocumentTypeWithCountryStateCity() {
|
||||
const [documentDetails, countryDetails, stateDetails, cityDetails] =
|
||||
const [documentDetails, countryDetails, stateDetails] =
|
||||
await this.prisma.$transaction([
|
||||
this.prisma.documentType.findMany({
|
||||
where: { isActive: true, isVisible: true },
|
||||
@@ -102,12 +102,9 @@ export class PrePopulateService {
|
||||
this.prisma.states.findMany({
|
||||
where: { isActive: true },
|
||||
}),
|
||||
this.prisma.cities.findMany({
|
||||
where: { isActive: true },
|
||||
}),
|
||||
]);
|
||||
|
||||
return { documentDetails, countryDetails, stateDetails, cityDetails };
|
||||
return { documentDetails, countryDetails, stateDetails };
|
||||
}
|
||||
|
||||
async getAllFrequencies() {
|
||||
|
||||
Reference in New Issue
Block a user