mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: another fix re: 3780fdc6ff
This commit is contained in:
@@ -225,7 +225,7 @@ inbox.delete = async (req) => {
|
||||
switch (true) {
|
||||
case isNote: {
|
||||
const uid = await posts.getPostField(object, 'uid');
|
||||
await announce(object, req.body);
|
||||
await announce(pid, req.body);
|
||||
await api.posts[method]({ uid }, { pid });
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user