Adding unresolved_only

This commit is contained in:
Dessalines 2021-09-27 14:48:27 -04:00
parent 81a6130073
commit a5d94056db
2 changed files with 10 additions and 1 deletions

View file

@ -121,6 +121,11 @@ export interface ListCommentReports {
* if no community is given, it returns reports for all communities moderated by the auth user.
*/
community_id?: number;
/**
* Only shows the unresolved reports.
*/
unresolved_only?: boolean;
auth: string;
}

View file

@ -143,7 +143,11 @@ export interface ListPostReports {
/**
* if no community is given, it returns reports for all communities moderated by the auth user.
*/
community?: number;
community_id?: number;
/**
* Only shows the unresolved reports.
*/
unresolved_only?: boolean;
auth: string;
}