Skip to content

Commit

Permalink
🚧 Add new field.
Browse files Browse the repository at this point in the history
  • Loading branch information
tolerious committed Jul 20, 2024
1 parent 9d9fc5c commit 6091792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ router.get("/youtube/list", async function (req, res, next) {
const u = req.tUser;
const r = await articleModel.find(
{ tags: { $elemMatch: { $eq: "youtube" } }, creator: u._id },
"title _id"
"title _id createdAt"
);
res.json(generateResponse(r));
});
Expand Down

0 comments on commit 6091792

Please sign in to comment.