mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 02:56:43 -06:00
Fix English grammatical error
This commit is contained in:
parent
cb4615e79e
commit
1a7efa95f1
5 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ module.exports = (params, user) =>
|
||||||
return rej('post not found');
|
return rej('post not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check already favorited
|
// already favorited
|
||||||
const exist = await Favorite.findOne({
|
const exist = await Favorite.findOne({
|
||||||
post_id: post._id,
|
post_id: post._id,
|
||||||
user_id: user._id
|
user_id: user._id
|
||||||
|
|
|
@ -31,7 +31,7 @@ module.exports = (params, user) =>
|
||||||
return rej('post not found');
|
return rej('post not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check already favorited
|
// already favorited
|
||||||
const exist = await Favorite.findOne({
|
const exist = await Favorite.findOne({
|
||||||
post_id: post._id,
|
post_id: post._id,
|
||||||
user_id: user._id
|
user_id: user._id
|
||||||
|
|
|
@ -43,7 +43,7 @@ module.exports = (params, user) =>
|
||||||
return rej('-need-translate-');
|
return rej('-need-translate-');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check already liked
|
// already liked
|
||||||
const exist = await Like.findOne({
|
const exist = await Like.findOne({
|
||||||
post_id: post._id,
|
post_id: post._id,
|
||||||
user_id: user._id,
|
user_id: user._id,
|
||||||
|
|
|
@ -38,7 +38,7 @@ module.exports = (params, user) =>
|
||||||
return rej('post not found');
|
return rej('post not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check already liked
|
// already liked
|
||||||
const exist = await Like.findOne({
|
const exist = await Like.findOne({
|
||||||
post_id: post._id,
|
post_id: post._id,
|
||||||
user_id: user._id,
|
user_id: user._id,
|
||||||
|
|
|
@ -52,7 +52,7 @@ module.exports = (params, user) =>
|
||||||
return rej('invalid choice');
|
return rej('invalid choice');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check already voted
|
// already voted
|
||||||
const exist = await Vote.findOne({
|
const exist = await Vote.findOne({
|
||||||
post_id: post._id,
|
post_id: post._id,
|
||||||
user_id: user._id
|
user_id: user._id
|
||||||
|
|
Loading…
Reference in a new issue