aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-06 20:30:54 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-06 20:30:54 +0000
commit3b92291afc24598faf82a5069326d35f2899b072 (patch)
treed400556af67e7209641e9865d11e2c625072ee1d
parentfa1d778c0d8d7292eb8e2b29dd9d8a49e11c71df (diff)
downloadcommunique-3b92291afc24598faf82a5069326d35f2899b072.tar.gz
fix typo here in url construction
-rw-r--r--cgi/servers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/servers.go b/cgi/servers.go
index 3183a93..b014fdb 100644
--- a/cgi/servers.go
+++ b/cgi/servers.go
@@ -151,8 +151,8 @@ func processTick(h config.Handler, output []byte, persister *models.Persister, l
}
for _, v := range keys {
parts := strings.Split(string(v), ":")
- joinedUrl := strings.Join(parts[2:], "")
- logger.With("payload", payload).With("inboxUrl", joinedUrl).Debugf("delivering activity")
+ joinedUrl := strings.Join(parts[2:], ":")
+ logger.With("payload", jsonData).With("inboxUrl", joinedUrl).Debugf("delivering activity")
actorKeyUrl, err := urls.UrlProfileKey(h.Name, cfg.Domain)
if err != nil {