Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Nov 7, 2024
1 parent 06f1e48 commit 6b07321
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/moderation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
SubmitActionOptions,
QueryModerationConfigsFilters,
QueryModerationConfigsSort,
Pager,
} from './types';
import { StreamChat } from './client';
import { normalizeQuerySort } from './utils';
Expand Down Expand Up @@ -196,7 +197,7 @@ export class Moderation<StreamChatGenerics extends ExtendableGenerics = DefaultG
async queryConfigs(
filterConditions: QueryModerationConfigsFilters,
sort: QueryModerationConfigsSort,
options: Record<string, any>,
options: Pager = {},
) {
return await this.client.post(this.client.baseURL + '/api/v2/moderation/configs', {
filter: filterConditions,
Expand Down Expand Up @@ -234,6 +235,7 @@ export class Moderation<StreamChatGenerics extends ExtendableGenerics = DefaultG
entityID: string,
entityCreatorID: string,
moderationPayload: {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
custom?: Record<string, any>;
images?: string[];
texts?: string[];
Expand Down

0 comments on commit 6b07321

Please sign in to comment.