We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Helpers.isEmptyString
1 parent 9a29462 commit f160830Copy full SHA for f160830
packages/external-services-connector/server/methods.coffee
@@ -82,7 +82,7 @@ Meteor.methods
82
check service, String
83
check draftId, Match.Optional String
84
85
- if body.trim().length is 0
+ if Helpers.isEmptyString body
86
throw new Meteor.Error 'no-content'
87
88
sendMessage subject, body, recipients, service, @userId
0 commit comments