diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-23 10:08:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-23 10:08:21 +0300 |
| commit | 09144495a49cd04df87f467ee045899cfeae3a30 (patch) | |
| tree | 96bfab37a8ba5a649d93825646c088f94bc68723 | |
| parent | a3b5d7ae6309bf84e4d29b9d312a0ae82eb9be12 (diff) | |
more todos
| -rw-r--r-- | internal/platforms/linkedin/linkedin.go | 1 | ||||
| -rw-r--r-- | internal/run.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go index c96db1b..8224913 100644 --- a/internal/platforms/linkedin/linkedin.go +++ b/internal/platforms/linkedin/linkedin.go @@ -18,6 +18,7 @@ import ( var errUnauthorized = errors.New("unauthorized access, refresh or create token?") +// TODO: Why are no previews of links shown then posted? func Post(ctx context.Context, args config.Args, sizeLimit int, ent entry.Entry) error { err := post(ctx, args, sizeLimit, ent) if errors.Is(err, errUnauthorized) { diff --git a/internal/run.go b/internal/run.go index 98fb501..513d71e 100644 --- a/internal/run.go +++ b/internal/run.go @@ -35,6 +35,7 @@ func Run(ctx context.Context, args config.Args) error { } func runPlatform(ctx context.Context, args config.Args, platform string, sizeLimit int) error { + // TODO: ctx should be extended, when editing a file due to its size being too large ent, err := schedule.Run(args, platform) switch { case errors.Is(err, schedule.ErrNothingToSchedule): |
