mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 16:36:43 -06:00
API: blocking/create or deleteで完全なUser情報を返すように
This commit is contained in:
parent
cb16cb0610
commit
fb6605bb40
2 changed files with 6 additions and 2 deletions
|
@ -87,5 +87,7 @@ export default define(meta, async (ps, user) => {
|
||||||
noteUserId: blockee.id
|
noteUserId: blockee.id
|
||||||
});
|
});
|
||||||
|
|
||||||
return await Users.pack(blockee.id, user);
|
return await Users.pack(blockee.id, user, {
|
||||||
|
detail: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -82,5 +82,7 @@ export default define(meta, async (ps, user) => {
|
||||||
// Delete blocking
|
// Delete blocking
|
||||||
await deleteBlocking(blocker, blockee);
|
await deleteBlocking(blocker, blockee);
|
||||||
|
|
||||||
return await Users.pack(blockee.id, user);
|
return await Users.pack(blockee.id, user, {
|
||||||
|
detail: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue