From c63cd93afff0acd777b8ac5f6b3b2630c3f85d79 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 08:26:50 -0500 Subject: try nil for body --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index d4ff84b..28871bf 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -266,7 +266,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl *url.URL, follow vocab.Act // ...but it is optional, no digest will be signed if given "nil" // body := nil // If r were a http.ResponseWriter, call SignResponse instead. - err = signer.SignRequest(privKey, actorUrl.String(), request, jsonData) + err = signer.SignRequest(privKey, actorUrl.String(), request, nil) r.log.With("type", "delivery").With("inbox", url.String()).With("actor", actorUrl.String()).Debugf("sending accept") client := &http.Client{} -- cgit v1.2.3