Skip to content

Commit

Permalink
Change field checks in RocketChat.saveStreamingOptions (#12973)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored and rodrigok committed Dec 19, 2018
1 parent 46dfdfd commit 11ae404
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ RocketChat.saveStreamingOptions = function(rid, options) {
}

check(options, {
id: Match.Optional(String),
type: Match.Optional(String),
url: Match.Optional(String),
thumbnail: Match.Optional(String),
isAudioOnly: Match.Optional(String),
isAudioOnly: Match.Optional(Boolean),
message: Match.Optional(String),
});

Expand Down

0 comments on commit 11ae404

Please sign in to comment.