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