Skip to content

Commit 5609856

Browse files
authored
Don't save a Twitter tip account if there isn't an account info DB entry (#99)
1 parent f2b5847 commit 5609856

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/code/async/user/twitter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ func (p *service) updateCachedTwitterUser(ctx context.Context, user *twitter_lib
206206
return nil
207207
}
208208
case account.ErrAccountInfoNotFound:
209+
return nil
209210
default:
210211
return errors.Wrap(err, "error getting account info")
211212
}

0 commit comments

Comments
 (0)