0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-10 22:38:39 +00:00

change default to 'en', including if input is left empty

This commit is contained in:
Gazook89
2022-11-19 19:27:27 -06:00
parent d5ea4c4e77
commit 806dcb04eb
3 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const HomebrewSchema = mongoose.Schema({
description : { type: String, default: '' },
tags : [String],
systems : [String],
lang : { type: String, default: '' },
lang : { type: String, default: 'en' },
renderer : { type: String, default: '' },
authors : [String],
published : { type: Boolean, default: false },