API: blocking/create or deleteで完全なUser情報を返すように

This commit is contained in:
syuilo 2020-10-31 10:19:10 +09:00
parent 9c312cfce8
commit 3ce4609441
2 changed files with 6 additions and 2 deletions

View File

@ -87,5 +87,7 @@ export default define(meta, async (ps, user) => {
noteUserId: blockee.id
});
return await Users.pack(blockee.id, user);
return await Users.pack(blockee.id, user, {
detail: true
});
});

View File

@ -82,5 +82,7 @@ export default define(meta, async (ps, user) => {
// Delete blocking
await deleteBlocking(blocker, blockee);
return await Users.pack(blockee.id, user);
return await Users.pack(blockee.id, user, {
detail: true
});
});