diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-23 23:09:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-23 23:09:55 +0300 |
| commit | bdcf87d33d73ad6b75c954e9b667ac084075746d (patch) | |
| tree | 32997c45696a21e01e382908999920dcf8afda78 /internal/platforms | |
| parent | fcd9fe70899c2e30ea467d80c576b950f5f62be6 (diff) | |
fix error handling
Diffstat (limited to 'internal/platforms')
| -rw-r--r-- | internal/platforms/linkedin/linkedin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go index 8224913..5f222fa 100644 --- a/internal/platforms/linkedin/linkedin.go +++ b/internal/platforms/linkedin/linkedin.go @@ -35,7 +35,7 @@ func post(ctx context.Context, args config.Args, sizeLimit int, ent entry.Entry) return nil } personID, accessToken, err := oauth2.LinkedInCreds(ctx, args) - if err != err { + if err != nil { return err } content, err := ent.ContentWithLimit(sizeLimit) |
