Fix comment
Some checks failed
continuous-integration/drone/pr Build is failing

Co-Authored-By: 6543 <6543@obermui.de>
This commit is contained in:
2022-05-14 22:21:37 +02:00
parent b3a248dde1
commit fcfee1d882

View File

@@ -160,7 +160,7 @@ func (c *Client) GetNotification(id int64) (*NotificationThread, *Response, erro
// ReadNotification mark notification thread as read by ID
// It optionally takes a second argument if status has to be set other than 'read'
// The relevant notification will be returned as the first parameter when the Gitea server is 1.16.0 or higher.
// The relevant notification will be returned as the first parameter when the Gitea server is 1.16.0 or higher.
func (c *Client) ReadNotification(id int64, status ...NotifyStatus) (*NotificationThread, *Response, error) {
if err := c.checkServerVersionGreaterThanOrEqual(version1_12_0); err != nil {
return nil, nil, err