Skip to content
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

Lint proxies directory #2103

Merged
merged 11 commits into from
Feb 13, 2017
Merged

Lint proxies directory #2103

merged 11 commits into from
Feb 13, 2017

Conversation

mauriciovieira
Copy link
Contributor

This PR is part of #2045 endeavor.

@bajiat bajiat mentioned this pull request Feb 11, 2017
38 tasks
@mauriciovieira
Copy link
Contributor Author

@apinf/developers please review


Meteor.publish('allProxies', function () {
let proxies;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For publish function the default value must be []

@@ -70,6 +81,12 @@ Meteor.methods({
}
},
createApiBackendOnApiUmbrella (apiBackend, proxyId) {
// Make sure apiBackend is a String
check(apiBackend, String);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apiBackend is not a String. I'll check the type and write it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably is Object type.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is. @mauriciovieira Change Strign type to Object

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@@ -70,6 +81,12 @@ Meteor.methods({
}
},
createApiBackendOnApiUmbrella (apiBackend, proxyId) {
// Make sure apiBackend is a String
check(apiBackend, String);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is. @mauriciovieira Change Strign type to Object

@@ -97,6 +114,12 @@ Meteor.methods({
return response;
},
updateApiBackendOnApiUmbrella (apiBackend, proxyId) {
// Make sure apiBackend is a String
check(apiBackend, String);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mauriciovieira Change String type to Object

@marla-singer marla-singer merged commit 8bdbfc6 into develop Feb 13, 2017
@marla-singer marla-singer deleted the feature/eslint-proxies branch February 13, 2017 12:09
@brylie brylie modified the milestone: Sprint 36 Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants