diff -r 68ef6504637e -r 639bbcddb4fe notifications.go --- a/notifications.go Mon Apr 17 12:07:44 2017 +0200 +++ b/notifications.go Mon Apr 17 12:15:50 2017 +0200 @@ -24,12 +24,12 @@ // GetNotification returns a notification // The returned notification can be nil if there is an error or if the // requested notification does not exist. -func (g *Client) GetNotification(id int) (*Notification, error) { - if id < 1 { +func (g *Client) GetNotification(notificationID int) (*Notification, error) { + if notificationID < 1 { return nil, ErrInvalidID } - var endPoint = "notifications/" + strconv.Itoa(id) + var endPoint = "notifications/" + strconv.Itoa(notificationID) var notification Notification if err := g.apiCall(endPoint, rest.Get, nil, ¬ification); err != nil { return nil, err