-
Notifications
You must be signed in to change notification settings - Fork 2k
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
companion: rename microsoft and google options to onedrive and drive respectively #2346
Conversation
…nd drive respectively
@@ -12,7 +12,6 @@ module.exports = class Provider extends RequestClient { | |||
super(uppy, opts) | |||
this.provider = opts.provider | |||
this.id = this.provider | |||
this.authProvider = opts.authProvider || this.provider |
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 realised that this is not used anywhere
could we add a console warning if you pass in options for the old name? or throw an error even. |
So it’s different in |
Yes, |
@goto-bus-stop I have made this update, thank you |
…respectively (transloadit#2346) * companion: rename microsoft and google provider options to onedrive and drive respectively * companion: throw error when the deprecated option is set
This helps minimise the inconsistency, as the providers are originally referred to as onedrive and drive (for Google Drive), it's confusing that you have to set options for microsoft and google instead.