mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 08:37:07 +02:00
feat: flag rescinding logic + api method
This commit is contained in:
@@ -109,7 +109,7 @@ Flags.get = async function (flagId) {
|
||||
Flags.getReports(flagId),
|
||||
]);
|
||||
if (!base) {
|
||||
return;
|
||||
throw new Error('[[error:no-flag]]');
|
||||
}
|
||||
const flagObj = {
|
||||
state: 'open',
|
||||
|
||||
Reference in New Issue
Block a user