Hello there .I have a problem that when I use MarkNotificationsRead() method to mark some notifications as read ,there is always an error ..
My code :
readTime := time.Date(2016, 07, 10, 18, 00, 00, 0, time.UTC)
Res, Reserr := client.Activity.MarkNotificationsRead(readTime)
And the "bad request " is:
PUT https://api.github.com/notifications?last_read_at=2016-07-10T18:00:00Z
And the error is :
PUT https://api.github.com/notifications?last_read_at=2016-07-10T18:00:00Z: 400 Problems parsing JSON []
I compare it with the Github API's timestamp format ,but ,I cannot find anything wrong .Could U please tell me why ?THX .
Hello there .I have a problem that when I use
MarkNotificationsRead()method to mark some notifications as read ,there is always an error ..My code :
And the "bad request " is:
PUT https://api.github.com/notifications?last_read_at=2016-07-10T18:00:00ZAnd the error is :
PUT https://api.github.com/notifications?last_read_at=2016-07-10T18:00:00Z: 400 Problems parsing JSON []I compare it with the Github API's timestamp format ,but ,I cannot find anything wrong .Could U please tell me why ?THX .