summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorこぴなたみぽ <Syuilotan@yahoo.co.jp>2017-08-28 23:49:14 +0900
committerGitHub <noreply@github.com>2017-08-28 23:49:14 +0900
commitcdcd8e5c40197c807c69aea19899bc556c8b783b (patch)
tree8f077b2c6818f0ba40807d7e9cac6d9d8b4ef07b /src/api
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-cdcd8e5c40197c807c69aea19899bc556c8b783b.tar.gz
sharkey-cdcd8e5c40197c807c69aea19899bc556c8b783b.tar.bz2
sharkey-cdcd8e5c40197c807c69aea19899bc556c8b783b.zip
Update regenerate_token.ts
Diffstat (limited to 'src/api')
-rw-r--r--src/api/endpoints/i/regenerate_token.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/i/regenerate_token.ts b/src/api/endpoints/i/regenerate_token.ts
index ccebbc8101..f96d10ebfc 100644
--- a/src/api/endpoints/i/regenerate_token.ts
+++ b/src/api/endpoints/i/regenerate_token.ts
@@ -37,6 +37,6 @@ module.exports = async (params, user) => new Promise(async (res, rej) => {
res();
- // Publish i updated event
+ // Publish event
event(user._id, 'my_token_regenerated');
});