chore (backend): add comment
This commit is contained in:
parent
509690d84d
commit
8140694a31
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
.andWhere("note.renoteId = :renoteId", { renoteId: note.id })
|
||||
.innerJoinAndSelect("note.user", "user");
|
||||
|
||||
// "all" doesn't filter out anything, it's just there for
|
||||
// those who prefer to set the parameter explicitly
|
||||
|
||||
if (ps.filter === "renote") {
|
||||
query.andWhere("note.text IS NULL");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue