Skip to content

Commit

Permalink
fix(route/ft): Fix author name. (DIYgod#14529)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx authored Feb 22, 2024
1 parent 42a6077 commit 6884cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/ft/myft.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = async (ctx) => {
.get(),
];
item.author = $('a.n-content-tag--author')
.map((i, e) => $(e).text())
.map((i, e) => ({name: $(e).text()}))
.get();

return item;
Expand Down

0 comments on commit 6884cd4

Please sign in to comment.