Skip to content

Commit

Permalink
update max_anomaly_score route schema to handle possible undefined va…
Browse files Browse the repository at this point in the history
…lues (#57339)
  • Loading branch information
alvarezmelissa87 authored Feb 11, 2020
1 parent 7b6db2a commit c0497ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const categoryDefinitionSchema = {

export const maxAnomalyScoreSchema = {
jobIds: schema.arrayOf(schema.string()),
earliestMs: schema.number(),
latestMs: schema.number(),
earliestMs: schema.maybe(schema.number()),
latestMs: schema.maybe(schema.number()),
};

export const categoryExamplesSchema = {
Expand Down

0 comments on commit c0497ce

Please sign in to comment.