diff --git a/notification.go b/notification.go index 8fd098d..5664adc 100644 --- a/notification.go +++ b/notification.go @@ -26,7 +26,7 @@ func (c *Client) GetNotifications(ctx context.Context) ([]*Notification, error) return notifications, nil } -// GetNotification return notifications. +// GetNotifications return notification. func (c *Client) GetNotification(ctx context.Context, id int64) (*Notification, error) { var notification Notification err := c.doAPI(ctx, http.MethodGet, fmt.Sprintf("/api/v1/notifications/%d", id), nil, ¬ification)