Skip to content

Commit 79a096d

Browse files
committed
fixed indentation (RocketChat#236)
1 parent 4cc03fe commit 79a096d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/assistify-ai/server/methods/SmartiWidgetBackend.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const querystring = require('querystring');
77
/** @namespace RocketChat.RateLimiter.limitFunction */
88

99
/**
10-
* The SmartiWidgetBackend handles all interactions triggered by the Smarti widget (not by Rocket.Chat hooks).
10+
* The SmartiWidgetBackend handles all interactions triggered by the Smarti widget (not by Rocket.Chat hooks).
1111
* These 'Meteor.methods' are made available to be accessed via DDP, to be used in the Smarti widget.
1212
*/
1313
Meteor.methods({
@@ -33,11 +33,11 @@ Meteor.methods({
3333
}
3434
}
3535
)(verbs.get, `legacy/rocket.chat?channel_id=${ channelId }`, null, (error) => {
36-
// 404 is expected if no mapping exists
37-
if (error.response.statusCode === 404) {
38-
return null;
39-
}
40-
});
36+
// 404 is expected if no mapping exists
37+
if (error.response.statusCode === 404) {
38+
return null;
39+
}
40+
});
4141

4242
if (conversation && conversation.id) {
4343
let timestamp = conversation.messages &&

0 commit comments

Comments
 (0)