Add response to ReadRepoNotifications
#590
Reference in New Issue
Block a user
No description provided.
Delete Branch "Gusted/go-sdk:notification-api-response"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ReadRepoNotifications
Tests fails due to: https://github.com/go-gitea/gitea/pull/19589
https://drone.gitea.com/gitea/go-sdk/525/1/2 Docker is stuck?
since it's a breaking change, can you add a note into https://gitea.com/gitea/go-sdk/src/branch/master/docs/migrate-v0.15-to-v0.16.md ?
I have restarted CI. Look like it will fail randomly.
Added the migration note
b3a248dde1
@@ -161,3 +161,3 @@
// ReadNotification mark notification thread as read by ID
// It optionally takes a second argument if status has to be set other than 'read'
func (c *Client) ReadNotification(id int64, status ...NotifyStatus) (*Response, error) {
// The relevant notification will be returned as the first parameter when the Gitea server is 1.16.0 or higher.
CI fail is unrelated ...