Fix date comparision and change article for asset.

This commit is contained in:
gaba
2016-12-12 22:18:11 -08:00
parent 0648b2b1c8
commit 475c84dfbc
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const AssetSchema = new Schema({
},
type: {
type: String,
default: 'article'
default: 'assets'
},
scraped: {
type: Date,