Fixing a few purge issues.
This commit is contained in:
parent
719f38b154
commit
25da5108eb
2 changed files with 5 additions and 1 deletions
|
@ -144,9 +144,13 @@ export class GetModlogResponse {
|
|||
transferred_to_community: ModTransferCommunityView[];
|
||||
@Type(() => ModAddView)
|
||||
added: ModAddView[];
|
||||
@Type(() => AdminPurgePersonView)
|
||||
admin_purged_persons: AdminPurgePersonView[];
|
||||
@Type(() => AdminPurgeCommunityView)
|
||||
admin_purged_communities: AdminPurgeCommunityView[];
|
||||
@Type(() => AdminPurgePostView)
|
||||
admin_purged_posts: AdminPurgePostView[];
|
||||
@Type(() => AdminPurgeCommentView)
|
||||
admin_purged_comments: AdminPurgeCommentView[];
|
||||
}
|
||||
|
||||
|
|
|
@ -388,7 +388,7 @@ export class AdminPurgeComment {
|
|||
@Transform(({ value }) => toOption(value), { toClassOnly: true })
|
||||
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
|
||||
@Expose()
|
||||
reason?: string;
|
||||
reason: Option<string>;
|
||||
when_: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue