From af7c12e5d42b6a19fd657138862ca6db6942d402 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 9 Oct 2024 23:44:09 +0300 Subject: refactor --- internal/platforms/linkedin/linkedin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/platforms') diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go index 3addd46..ce30970 100644 --- a/internal/platforms/linkedin/linkedin.go +++ b/internal/platforms/linkedin/linkedin.go @@ -47,7 +47,7 @@ func callLinkedInAPI(personID, accessToken, message string) error { post := map[string]interface{}{ "author": fmt.Sprintf("urn:li:person:%s", personID), - "commentary": message, + "commentary": message, // TODO: Can't post (...) paretenthesis? escape them? "visibility": "PUBLIC", "distribution": map[string]interface{}{ "feedDistribution": "MAIN_FEED", -- cgit v1.2.3