mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
API: blocking/create or deleteで完全なUser情報を返すように
This commit is contained in:
parent
9c312cfce8
commit
3ce4609441
@ -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
|
||||
});
|
||||
});
|
||||
|
@ -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
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user