fixed the order by id asc in the allowed entry types

This commit is contained in:
2026-01-12 18:46:06 +05:30
parent 8534ac6c7d
commit 6d377296fc
2 changed files with 2 additions and 2 deletions

View File

@@ -676,7 +676,7 @@ async function main() {
{ name: "We provide basic advice to travelers about wildlife safety.", points: 5 },
{ name: "We conduct guided tours with trained personnel and provide detailed safety briefings.", points: 8 },
{ name: "We implement comprehensive wildlife safety measures, including trained guides, safety equipment, and collaboration with wildlife experts.", points: 10 },
{ name: "Not applicable.", points: 10 }
{ name: "Not applicable.", points: 0 }
]
},
{

View File

@@ -179,7 +179,7 @@ export class PrePopulateService {
}),
this.prisma.allowedEntryTypes.findMany({
where: { isActive: true },
orderBy: { allowedEntryTypeName: 'asc' }
orderBy: { id: 'asc' }
}),
this.prisma.ageRestrictions.findMany({
where: { isActive: true },