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) (#57357)
  • Loading branch information
alvarezmelissa87 authored Feb 11, 2020
1 parent ddc57ee commit bbf06a1
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 bbf06a1

Please sign in to comment.