diff options
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) |