Partially fix missing author images on mentions
This commit is contained in:
1 parent
41b127417e
commit
8e1009a9a1
2 files changed
+6
-3
No files matched your search
+4
-1
@@ -2,7 +2,9 @@ const postCache = require('./_postData');
|
||||
|
||||
const dateSort = (a, b) => new Date(b.date) - new Date(a.date);
|
||||
|
||||
const mapComment = comment => ({
|
||||
const mapComment = comment => {
|
||||
console.log(comment);
|
||||
return ({
|
||||
author: {
|
||||
name: comment.author_name,
|
||||
avatars: comment.author_avatar_urls,
|
||||
@@ -12,6 +14,7 @@ const mapComment = comment => ({
|
||||
canonical: comment.meta.url,
|
||||
date: comment.date,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
module.exports = async () => {
|
||||
|
||||
Reference in new issue
Block a user