Skip to content

Commit

Permalink
fixes type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley14 committed Nov 14, 2019
1 parent 8e73aee commit 35e0d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const signalsAlertType = ({ logger }: { logger: Logger }): SignalAlertTyp
savedId: schema.nullable(schema.string()),
query: schema.nullable(schema.string()),
filters: schema.nullable(schema.arrayOf(schema.object({}, { allowUnknowns: true }))),
maxSignals: schema.number({ defaultValue: 100 }),
maxSignals: schema.number({ defaultValue: 10000 }),
severity: schema.string(),
to: schema.string(),
type: schema.string(),
Expand Down Expand Up @@ -78,7 +78,6 @@ export const signalsAlertType = ({ logger }: { logger: Logger }): SignalAlertTyp
to,
filter: esFilter,
size: searchAfterSize,
maxDocs: maxSignals,
searchAfterSortId: undefined,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface SignalAlertParams {
interval: string;
id: string;
language: string | undefined;
maxSignals: number | undefined;
maxSignals: number;
name: string;
query: string | undefined;
references: string[];
Expand Down

0 comments on commit 35e0d0e

Please sign in to comment.