Skip to content

Commit

Permalink
[7.x] [Uptime] Fix monitor list result runtime type, ip can be null (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 authored May 8, 2020
1 parent d516c64 commit 32768cc
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 32768cc

Please sign in to comment.