feat(spam): Introduce checking new accounts, events & comments for spam with the help of Akismet
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -366,6 +366,7 @@ export const FEATURES = gql`
|
||||
features {
|
||||
groups
|
||||
eventCreation
|
||||
antispam
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,8 +116,16 @@ export const CREATE_REPORT = gql`
|
||||
`;
|
||||
|
||||
export const UPDATE_REPORT = gql`
|
||||
mutation UpdateReport($reportId: ID!, $status: ReportStatus!) {
|
||||
updateReportStatus(reportId: $reportId, status: $status) {
|
||||
mutation UpdateReport(
|
||||
$reportId: ID!
|
||||
$status: ReportStatus!
|
||||
$antispamFeedback: AntiSpamFeedback
|
||||
) {
|
||||
updateReportStatus(
|
||||
reportId: $reportId
|
||||
status: $status
|
||||
antispamFeedback: $antispamFeedback
|
||||
) {
|
||||
...ReportFragment
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user