Skip to content

Commit ed62324

Browse files
committed
fix: Temporary fix allowing to set fallback locale codes
1 parent b9dc1b0 commit ed62324

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/entities/locale.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ function createLocaleApi (http) {
3737
// be sent back.
3838
const locale = this
3939
delete locale.default
40+
locale.fallbackCode = locale.fallback_code
41+
delete locale.fallback_code
4042
return createUpdateEntity({
4143
http: http,
4244
entityPath: 'locales',

0 commit comments

Comments
 (0)