That way we can programmatically add arguments to the NewConnector function instead of copy/pasting all of them across conditionals.
For extra context we'd like to not repeat code everywhere depending on whether or not we're using Oauth or AccessTokens since everything else is the same but we end up with 6 calls of the same pretty much code.
That way we can programmatically add arguments to the
NewConnector
function instead of copy/pasting all of them across conditionals.For extra context we'd like to not repeat code everywhere depending on whether or not we're using Oauth or AccessTokens since everything else is the same but we end up with 6 calls of the same pretty much code.