diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-02 08:21:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-02 08:21:30 +0900 |
| commit | 718060dc855e09f270b8e19c089ed3c3743665e0 (patch) | |
| tree | 334ea8c7dcd04153da311cf6073407f6f14eb423 /src/api/endpoints/mute | |
| parent | wip (diff) | |
| download | misskey-718060dc855e09f270b8e19c089ed3c3743665e0.tar.gz misskey-718060dc855e09f270b8e19c089ed3c3743665e0.tar.bz2 misskey-718060dc855e09f270b8e19c089ed3c3743665e0.zip | |
wip
Diffstat (limited to 'src/api/endpoints/mute')
| -rw-r--r-- | src/api/endpoints/mute/list.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/mute/list.ts b/src/api/endpoints/mute/list.ts index 740e19f0bb..19e3b157e6 100644 --- a/src/api/endpoints/mute/list.ts +++ b/src/api/endpoints/mute/list.ts @@ -3,7 +3,7 @@ */ import $ from 'cafy'; import Mute from '../../models/mute'; -import serialize from '../../serializers/user'; +import { pack } from '../../models/user'; import getFriends from '../../common/get-friends'; /** @@ -63,7 +63,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => { // Serialize const users = await Promise.all(mutes.map(async m => - await serialize(m.mutee_id, me, { detail: true }))); + await pack(m.mutee_id, me, { detail: true }))); // Response res({ |