-
Notifications
You must be signed in to change notification settings - Fork 3
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
Smarti Widget 0.7.1 #332
Conversation
…onversation" This reverts commit c7966a3.
…get-0.7.2 # Conflicts: # packages/assistify-ai/server/SmartiProxy.js # packages/assistify-ai/server/hooks/sendMessageToKnowledgeAdapter.js # packages/assistify-ai/server/lib/SmartiAdapter.js
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.
Only some minor questions /w respect to error handling
if (error.response && error.response.statusCode === 404) { | ||
return null; | ||
} | ||
return {errorCode: error.code}; |
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.
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}; |
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.
Are you sure about this? Should it not be at least wrapped in an if(error)
?
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
This PR includes Smarti Widget related changes for Smarti 0.7.1.