-
Notifications
You must be signed in to change notification settings - Fork 90
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(backend): tenanted quotes and outgoing payments #3171
feat(backend): tenanted quotes and outgoing payments #3171
Conversation
✅ Deploy Preview for brilliant-pasca-3e80ec ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…r/rafiki into 3118-multi-tenant-tenanted-quotes
…r/rafiki into 3118-multi-tenant-tenanted-quotes
…g payments routes, add test cases for unknown tenantId
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.
Final thing, I think we need to use the tenantId
in the getWalletAddressUrlFromOutgoingPayment
route middleware, just to be on the safe side
…g payment and quote routes middleware
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.
LGTM after #3171 (comment)
…tgoing payments WA middleware
…ment query in service
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.
Looks like some format check is complaining
@@ -290,6 +293,58 @@ describe('Wallet Address Middleware', (): void => { | |||
expect(next).toHaveBeenCalled() | |||
}) | |||
|
|||
test('throws error if could not find existing outgoing payment for mismatched tenantId', async () => { |
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.
Let's have one for getWalletAddressUrlFromQuote
as well
… from quote middleware
…r/rafiki into 3118-multi-tenant-tenanted-quotes
Changes proposed in this pull request
Context
fixes #3118 #3119
Checklist
fixes #number
user-docs
label (if necessary)