mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 06:15:54 +02:00
ストリーム経由でAPIにリクエストできるように
This commit is contained in:
@@ -6,7 +6,9 @@ import User, { pack } from '../../../models/user';
|
||||
/**
|
||||
* Show myself
|
||||
*/
|
||||
module.exports = (params, user, _, isSecure) => new Promise(async (res, rej) => {
|
||||
module.exports = (params, user, app) => new Promise(async (res, rej) => {
|
||||
const isSecure = user != null && app == null;
|
||||
|
||||
// Serialize
|
||||
res(await pack(user, user, {
|
||||
detail: true,
|
||||
|
||||
Reference in New Issue
Block a user