From 3283900b0d0b98e5ca956f61ce09ab373cf0cbe8 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:48:11 +0100 Subject: [feature] Federate reports to remote instance as Flag (if desired) (#1386) * reports federate out, we did it lxds * fix optional line start (should be optional slash) --- internal/ap/extract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/ap/extract.go') diff --git a/internal/ap/extract.go b/internal/ap/extract.go index 20420e02c..ab51b0858 100644 --- a/internal/ap/extract.go +++ b/internal/ap/extract.go @@ -621,7 +621,7 @@ func ExtractActor(i WithActor) (*url.URL, error) { return nil, errors.New("no iri found for actor prop") } -// ExtractObject extracts a URL object from a WithObject interface. +// ExtractObject extracts the first URL object from a WithObject interface. func ExtractObject(i WithObject) (*url.URL, error) { objectProp := i.GetActivityStreamsObject() if objectProp == nil { -- cgit v1.2.3