ローカルタイムラインとグローバルタイムラインを実装
This commit is contained in:
parent
06535a37b5
commit
a0e640b118
19 changed files with 599 additions and 183 deletions
|
|
@ -30,7 +30,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
}, {
|
||||
fields: {
|
||||
data: false,
|
||||
'profile': false
|
||||
profile: false
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -41,8 +41,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
// Check if already muting
|
||||
const exist = await Mute.findOne({
|
||||
muterId: muter._id,
|
||||
muteeId: mutee._id,
|
||||
deletedAt: { $exists: false }
|
||||
muteeId: mutee._id
|
||||
});
|
||||
|
||||
if (exist !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue