From f752ac9ebaf1a1a0d6d00de45b90269c1fb629cf Mon Sep 17 00:00:00 2001 From: chansuke Date: Mon, 17 Apr 2017 04:59:43 +0900 Subject: [PATCH] Fix comment of notification API --- notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification.go b/notification.go index 6fa2436..44ffdd8 100644 --- a/notification.go +++ b/notification.go @@ -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, ¬ification)