Skip to content

Commit

Permalink
fix: use datetime instead of date for alert start/end date params (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
mebuckler authored Jun 11, 2020
1 parent 59126f8 commit 565cc4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rest/monitor/v1/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ AlertList = function AlertList(version) {
var deferred = Q.defer();
var data = values.of({
'LogLevel': _.get(opts, 'logLevel'),
'StartDate': serialize.iso8601Date(_.get(opts, 'startDate')),
'EndDate': serialize.iso8601Date(_.get(opts, 'endDate')),
'StartDate': serialize.iso8601DateTime(_.get(opts, 'startDate')),
'EndDate': serialize.iso8601DateTime(_.get(opts, 'endDate')),
'PageToken': opts.pageToken,
'Page': opts.pageNumber,
'PageSize': opts.pageSize
Expand Down

0 comments on commit 565cc4c

Please sign in to comment.