-
Notifications
You must be signed in to change notification settings - Fork 452
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
fix(server): /connections/:connectionId New Format #3200
Conversation
onRefreshFailed: connectionRefreshFailedHook | ||
}); | ||
if (credentialResponse.isErr()) { | ||
res.status(credentialResponse.error.status).send({ |
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.
🍖 the core of this update
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.
are we sure credentialResponse.error.status
is always defined, if not let's || 5XX
packages/server/lib/controllers/connection/connectionId/getConnection.ts
Outdated
Show resolved
Hide resolved
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.
3rd time the charm
onRefreshFailed: connectionRefreshFailedHook | ||
}); | ||
if (credentialResponse.isErr()) { | ||
res.status(credentialResponse.error.status).send({ |
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.
are we sure credentialResponse.error.status
is always defined, if not let's || 5XX
@TBonnin |
This is another attempt to get the new /connections/:connectionId PR to land, with some updates to remove the status code changes the previous attempts included. That should help us see how much we've actually changed.