--- a/vendor/github.com/McKael/madon/v3/suggestions.go Sat Feb 04 13:18:01 2023 +0100
+++ b/vendor/github.com/McKael/madon/v3/suggestions.go Sat Feb 04 13:26:06 2023 +0100
@@ -7,8 +7,6 @@
package madon
import (
- "strconv"
-
"github.com/sendgrid/rest"
)
@@ -24,8 +22,8 @@
}
// DeleteSuggestion removes the account from the suggestion list
-func (mc *Client) DeleteSuggestion(accountID int64) error {
- endPoint := "suggestions/" + strconv.FormatInt(accountID, 10)
+func (mc *Client) DeleteSuggestion(accountID ActivityID) error {
+ endPoint := "suggestions/" + accountID
method := rest.Delete
return mc.apiCall("v1/"+endPoint, method, nil, nil, nil, nil)
}