Fix comment of notification API

pull/18/head
chansuke 2017-04-17 04:59:43 +09:00
parent 5d72d54344
commit f752ac9eba
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ func (c *Client) GetNotifications() ([]*Notification, error) {
return notifications, nil
}
// GetNotifications return notifications.
// GetNotifications return notification.
func (c *Client) GetNotification(id int64) (*Notification, error) {
var notification Notification
err := c.doAPI(http.MethodGet, fmt.Sprintf("/api/v1/notifications/%d", id), nil, &notification)