diff options
author | FChannel <> | 2022-05-06 22:45:27 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 39012c6b17073f6933a5ead8beed64df555f7348 (patch) | |
tree | 7784d092fe196a9051c81cf6833997607ad2d268 /activitypub/activity.go | |
parent | af542e339e5a611d2a1b5876450bee841b577640 (diff) |
converting functions to activitypub object functions
Diffstat (limited to 'activitypub/activity.go')
-rw-r--r-- | activitypub/activity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub/activity.go b/activitypub/activity.go index 22c9f06..9cf5bf2 100644 --- a/activitypub/activity.go +++ b/activitypub/activity.go @@ -36,7 +36,7 @@ func AcceptActivity(header string) bool { return accept } -func ActivitySign(actor Actor, signature string) (string, error) { +func (actor Actor) ActivitySign(signature string) (string, error) { query := `select file from publicKeyPem where id=$1 ` rows, err := config.DB.Query(query, actor.PublicKey.Id) |