This commit is contained in:
syuilo 2018-10-29 21:38:09 +09:00
parent 13acf570e7
commit 0d86eef3d7
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
3 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ import perUserFollowingChart from '../../chart/per-user-following';
export default async function(follower: IUser, followee: IUser, requestId?: string) {
// check blocking
const [ blocking, blocked ] = await Promise.all([
const [blocking, blocked] = await Promise.all([
Blocking.findOne({
blockerId: follower._id,
blockeeId: followee._id,

View file

@ -9,7 +9,7 @@ import Blocking from '../../../models/blocking';
export default async function(follower: IUser, followee: IUser, requestId?: string) {
// check blocking
const [ blocking, blocked ] = await Promise.all([
const [blocking, blocked] = await Promise.all([
Blocking.findOne({
blockerId: follower._id,
blockeeId: followee._id,