diff --git a/src/types/BanFromCommunity.ts b/src/types/BanFromCommunity.ts index bcbf1ed..8571430 100644 --- a/src/types/BanFromCommunity.ts +++ b/src/types/BanFromCommunity.ts @@ -6,7 +6,7 @@ export interface BanFromCommunity { community_id: CommunityId; person_id: PersonId; ban: boolean; - remove_data?: boolean; + remove_or_restore_data?: boolean; reason?: string; expires?: number; } diff --git a/src/types/BanPerson.ts b/src/types/BanPerson.ts index 57195ed..bfd1bba 100644 --- a/src/types/BanPerson.ts +++ b/src/types/BanPerson.ts @@ -4,7 +4,7 @@ import type { PersonId } from "./PersonId"; export interface BanPerson { person_id: PersonId; ban: boolean; - remove_data?: boolean; + remove_or_restore_data?: boolean; reason?: string; expires?: number; }