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

Smarti Widget 0.7.1 #332

Merged
merged 13 commits into from
May 14, 2018
Merged

Conversation

Peym4n
Copy link

@Peym4n Peym4n commented May 14, 2018

This PR includes Smarti Widget related changes for Smarti 0.7.1.

Copy link
Member

@mrsimpson mrsimpson left a comment

Choose a reason for hiding this comment

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

Only some minor questions /w respect to error handling

if (error.response && error.response.statusCode === 404) {
return null;
}
return {errorCode: error.code};
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure about this? Should it not be at least wrapped in an if(error)?

@@ -37,6 +37,7 @@ Meteor.methods({
if (error.response.statusCode === 404) {
return null;
}
return {errorCode: error.code};
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure about this? Should it not be at least wrapped in an if(error)?

Copy link
Member

@mrsimpson mrsimpson left a comment

Choose a reason for hiding this comment

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

lgtm

@mrsimpson mrsimpson merged commit ee465b7 into assistify:develop May 14, 2018
@Peym4n Peym4n mentioned this pull request Jun 12, 2018
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.

2 participants