fix: myriad typos and issues pt 2
This commit is contained in:
parent
be92f3bdf0
commit
b0aa0d6948
50 changed files with 120 additions and 69 deletions
|
@ -1,4 +1,4 @@
|
|||
module.exports = (collection) => {
|
||||
if (!collection || !collection.length) return ''
|
||||
return collection[0].publishedAt
|
||||
return collection[0]['publishedAt']
|
||||
}
|
||||
|
|
Reference in a new issue