vendor/github.com/McKael/madon/v3/endorsements.go
changeset 270 df7e9dff1b66
parent 268 4dd196a4ee7c
--- a/vendor/github.com/McKael/madon/v3/endorsements.go	Sat Feb 04 13:18:01 2023 +0100
+++ b/vendor/github.com/McKael/madon/v3/endorsements.go	Sat Feb 04 13:26:06 2023 +0100
@@ -22,7 +22,7 @@
 }
 
 // PinAccount adds the account to the endorsement list
-func (mc *Client) PinAccount(accountID int64) (*Relationship, error) {
+func (mc *Client) PinAccount(accountID ActivityID) (*Relationship, error) {
 	rel, err := mc.updateRelationship("pin", accountID, nil)
 	if err != nil {
 		return nil, err
@@ -34,7 +34,7 @@
 }
 
 // UnpinAccount removes the account from the endorsement list
-func (mc *Client) UnpinAccount(accountID int64) (*Relationship, error) {
+func (mc *Client) UnpinAccount(accountID ActivityID) (*Relationship, error) {
 	rel, err := mc.updateRelationship("unpin", accountID, nil)
 	if err != nil {
 		return nil, err