Skip to content

Commit

Permalink
[Uptime] Fix monitor list result runtime type, ip can be null (elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed May 7, 2020
1 parent a755c2e commit 8bed7ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as t from 'io-ts';
export const CheckMonitorType = t.intersection([
t.partial({
name: t.string,
ip: t.union([t.array(t.string), t.string]),
ip: t.union([t.array(t.union([t.string, t.null])), t.string, t.null]),
}),
t.type({
status: t.string,
Expand Down

0 comments on commit 8bed7ae

Please sign in to comment.