-
Notifications
You must be signed in to change notification settings - Fork 79
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
Accept bank cards only for specific connectors #997
base: main
Are you sure you want to change the base?
Accept bank cards only for specific connectors #997
Conversation
299f485
to
0947e9b
Compare
0947e9b
to
7a38aa8
Compare
Signed-off-by: Wojciech Kula <[email protected]>
7a38aa8
to
27b8e01
Compare
|
||
/// For which connectors credit cards should be accepted | ||
/// If None, authentication happens to all connectors | ||
credit_cards_connectors: Vec<i64>, |
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.
None can be only true for Option. Maybe lets make it an option?
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.
It doesn't have to. It's a config - it should always be set to something. Even empty
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 mean in the comment above
Describe your changes
Add to the config a comma separated list (since config can't have arrays) of connectors to which the bank cards should be accepted
Issue ticket number and link
Checklist before requesting a review