summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/i/update.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-02 16:01:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-02 16:01:32 +0900
commit4feff8835cfa80529c14fcbb7a138eeb0a951650 (patch)
tree99c9754a1e6a6b0cd340eaabc4bd1bbd5349bf2c /src/server/api/endpoints/i/update.ts
parentwip (diff)
downloadsharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.tar.gz
sharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.tar.bz2
sharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.zip
wip
Diffstat (limited to 'src/server/api/endpoints/i/update.ts')
-rw-r--r--src/server/api/endpoints/i/update.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/i/update.ts b/src/server/api/endpoints/i/update.ts
index 8ee3c84861..5aff6da103 100644
--- a/src/server/api/endpoints/i/update.ts
+++ b/src/server/api/endpoints/i/update.ts
@@ -99,7 +99,7 @@ module.exports = async (params, user, app) => new Promise(async (res, rej) => {
res(iObj);
// Publish i updated event
- event(user._id, 'i_updated', iObj);
+ event(user._id, 'meUpdated', iObj);
// 鍵垢を解除したとき、溜まっていたフォローリクエストがあるならすべて承認
if (user.isLocked && isLocked === false) {