Correct thumbnail type in model

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
G.AmbatteandTrevor Buckner authored and GitHub committed 2021-10-28 09:08:54 +13:00
1 parent 20d7193fb2
commit 6160d3ddd1
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ const HomebrewSchema = mongoose.Schema({
renderer : { type: String, default: '' }, renderer : { type: String, default: '' },
authors : [String], authors : [String],
published : { type: Boolean, default: false }, published : { type: Boolean, default: false },
thumbnail : [String], thumbnail : { type: String, default: '' },
createdAt : { type: Date, default: Date.now }, createdAt : { type: Date, default: Date.now },
updatedAt : { type: Date, default: Date.now }, updatedAt : { type: Date, default: Date.now },