-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add xero sync #56
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Summary
|
7e3fe23
to
4f700f7
Compare
connectors/connector-xero/server.ts
Outdated
newInstance: ({settings, fetchLinks}) => { | ||
const xero = initXeroSDK({ | ||
headers: { | ||
authorization: `Bearer ${settings.oauth.credentials.access_token}`, | ||
}, | ||
links: (defaultLinks) => [ | ||
(req, next) => { | ||
if (xero.clientOptions.baseUrl) { | ||
req.headers.set( | ||
nangoProxyLink.kBaseUrlOverride, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept getting 401
s and 403
when I used it like this!
No description provided.