We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a12f77 commit 2819b2dCopy full SHA for 2819b2d
packages/reva-api/modules/referential/referential.resolvers.ts
@@ -143,7 +143,12 @@ const unsafeReferentialResolvers = {
143
prismaClient.conventionCollective.findMany(),
144
getFCCertification: (_: unknown, { rncp }: { rncp: string }) =>
145
RNCPReferential.getInstance().findOneByRncp(rncp),
146
- getCountries: () => prismaClient.country.findMany(),
+ getCountries: () =>
147
+ prismaClient.country.findMany({
148
+ orderBy: {
149
+ label: "asc",
150
+ },
151
+ }),
152
getEtablissement: (_: unknown, { siret }: { siret: string }) =>
153
findEtablissementDiffusible({ siret }),
154
getEtablissementAsAdmin: (_: unknown, { siret }: { siret: string }) =>
0 commit comments