diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-24 18:13:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-24 18:13:06 +0900 |
| commit | 7602e8f9383be37c0f7d9359f862c366b7f2fa00 (patch) | |
| tree | 013dc2467b4a2e028371d4cf94f42a138d2eb4d5 /src/server/api/endpoints/notifications | |
| parent | Better japanese (diff) | |
| download | sharkey-7602e8f9383be37c0f7d9359f862c366b7f2fa00.tar.gz sharkey-7602e8f9383be37c0f7d9359f862c366b7f2fa00.tar.bz2 sharkey-7602e8f9383be37c0f7d9359f862c366b7f2fa00.zip | |
cafy 5.xに移行
Diffstat (limited to 'src/server/api/endpoints/notifications')
| -rw-r--r-- | src/server/api/endpoints/notifications/get_unread_count.ts | 4 | ||||
| -rw-r--r-- | src/server/api/endpoints/notifications/mark_as_read_all.ts | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/server/api/endpoints/notifications/get_unread_count.ts b/src/server/api/endpoints/notifications/get_unread_count.ts index 283ecd63b1..600a80d194 100644 --- a/src/server/api/endpoints/notifications/get_unread_count.ts +++ b/src/server/api/endpoints/notifications/get_unread_count.ts @@ -6,10 +6,6 @@ import Mute from '../../../../models/mute'; /** * Get count of unread notifications - * - * @param {any} params - * @param {any} user - * @return {Promise<any>} */ module.exports = (params, user) => new Promise(async (res, rej) => { const mute = await Mute.find({ diff --git a/src/server/api/endpoints/notifications/mark_as_read_all.ts b/src/server/api/endpoints/notifications/mark_as_read_all.ts index 01c9145837..dce3cb4663 100644 --- a/src/server/api/endpoints/notifications/mark_as_read_all.ts +++ b/src/server/api/endpoints/notifications/mark_as_read_all.ts @@ -6,10 +6,6 @@ import event from '../../../../publishers/stream'; /** * Mark as read all notifications - * - * @param {any} params - * @param {any} user - * @return {Promise<any>} */ module.exports = (params, user) => new Promise(async (res, rej) => { // Update documents |