summaryrefslogtreecommitdiff
path: root/internal/platforms/linkedin
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-22 23:25:46 +0200
committerPaul Buetow <paul@buetow.org>2024-11-22 23:25:46 +0200
commitfaf7569ab307eff706e4ccf2ed92eec5c93f67eb (patch)
treefa81064795ec6f742c5fc3eab314c83abdd2e5de /internal/platforms/linkedin
parentb6f1f3f602df0368ac7ecec211e6c95b93a1c53c (diff)
implement random other
Diffstat (limited to 'internal/platforms/linkedin')
-rw-r--r--internal/platforms/linkedin/linkedin.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go
index 9ca929b..7db0e0d 100644
--- a/internal/platforms/linkedin/linkedin.go
+++ b/internal/platforms/linkedin/linkedin.go
@@ -57,8 +57,6 @@ func post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry)
return err
}
- // TODO: Refactor this. Make it so that in a loop we can also check for the content with limit.
- // Maybe pass an interface en.ContentWithLimit and en.Path() to prompt.FileAction
question := fmt.Sprintf("Do you want to post this message to Linkedin (%v)?", prev)
if content, err = prompt.FileAction(question, content, en.Path); err != nil {
return err