summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-02 12:58:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-02 12:58:56 +0900
commit56fa24e40166f59482d25ebc04a8335a60b072ff (patch)
treee152be342313068b276254de8be4b05857ca2abe /src/services
parentwip (diff)
downloadsharkey-56fa24e40166f59482d25ebc04a8335a60b072ff.tar.gz
sharkey-56fa24e40166f59482d25ebc04a8335a60b072ff.tar.bz2
sharkey-56fa24e40166f59482d25ebc04a8335a60b072ff.zip
wip
Diffstat (limited to 'src/services')
-rw-r--r--src/services/following/requests/create.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/following/requests/create.ts b/src/services/following/requests/create.ts
index 1285c21ea8..b69eb5acb0 100644
--- a/src/services/following/requests/create.ts
+++ b/src/services/following/requests/create.ts
@@ -33,10 +33,10 @@ export default async function(follower: IUser, followee: IUser) {
// Publish reciveRequest event
if (isLocalUser(followee)) {
- packUser(follower, followee).then(packed => event(followee._id, 'reciveRequest', packed)),
+ packUser(follower, followee).then(packed => event(followee._id, 'reciveFollowRequest', packed)),
// 通知を作成
- notify(followee._id, follower._id, 'reciveRequest');
+ notify(followee._id, follower._id, 'reciveFollowRequest');
}
if (isLocalUser(follower) && isRemoteUser(followee)) {