mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 16:35:56 +02:00
wip
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
import $ from 'cafy';
|
||||
import User from '../../models/user';
|
||||
import serialize from '../../serializers/user';
|
||||
import { pack } from '../../models/user';
|
||||
|
||||
/**
|
||||
* Show a user
|
||||
@@ -41,7 +41,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
|
||||
}
|
||||
|
||||
// Send response
|
||||
res(await serialize(user, me, {
|
||||
res(await pack(user, me, {
|
||||
detail: true
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user