Format
This commit is contained in:
parent
13acf570e7
commit
0d86eef3d7
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue