diff --git a/src/server/api/endpoints/blocking/create.ts b/src/server/api/endpoints/blocking/create.ts index c235731190..c3a4d24ae0 100644 --- a/src/server/api/endpoints/blocking/create.ts +++ b/src/server/api/endpoints/blocking/create.ts @@ -71,5 +71,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) = await create(blocker, blockee); // Send response - res(await pack(blockee._id, user)); + res(await pack(blockee._id, user, { + detail: true + })); }); diff --git a/src/server/api/endpoints/blocking/delete.ts b/src/server/api/endpoints/blocking/delete.ts index dd0cf6b515..e712d54d30 100644 --- a/src/server/api/endpoints/blocking/delete.ts +++ b/src/server/api/endpoints/blocking/delete.ts @@ -71,5 +71,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) = await deleteBlocking(blocker, blockee); // Send response - res(await pack(blockee._id, user)); + res(await pack(blockee._id, user, { + detail: true + })); });