aboutsummaryrefslogtreecommitdiff
path: root/views/actor.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-03 00:07:13 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-03 00:07:13 +0000
commita40781358984f651214e53ba000ccc288c56d4f1 (patch)
treeaa820181d9810a9ce213e3966cdd3c91ba69cf98 /views/actor.go
parent44d91d465089378c235426cbec1f4c8b53fb62f0 (diff)
downloadcommunique-a40781358984f651214e53ba000ccc288c56d4f1.tar.gz
Revert "try person instead"
This reverts commit 84e30e433c867049c7d45edefcf4399c3157ba0f.
Diffstat (limited to '')
-rw-r--r--views/actor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/actor.go b/views/actor.go
index 0566e5e..a91044a 100644
--- a/views/actor.go
+++ b/views/actor.go
@@ -39,7 +39,7 @@ func RenderActor(name, domain string) (map[string]interface{}, error) {
return nil, err
}
- p := streams.NewActivityStreamsPerson()
+ p := streams.NewActivityStreamsService()
idProp := streams.NewJSONLDIdProperty()
idProp.Set(actorUrl)
p.SetJSONLDId(idProp)