Skip to content

Commit d38227c

Browse files
author
Dipam Sen
authored
🐛 default locale commonName to null (#81)
1 parent 629124f commit d38227c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prisma/seeds/locales.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function seed(prismaClient: PrismaClient) {
2222
return {
2323
id: locale.id.replaceAll('_', '-'),
2424
formalName: locale.formalName,
25-
commonName: locale.commonName ?? null,
25+
commonName: locale.commonName || null,
2626
nativeName: locale.nativeName,
2727
languageCode,
2828
countryCode,

0 commit comments

Comments
 (0)