Skip to content

Commit

Permalink
Add default to options parameter in listCustomEmoji (#13031)
Browse files Browse the repository at this point in the history
Regression: List of custom emojis wasn't working
  • Loading branch information
MarcosSpessatto authored and rodrigok committed Dec 27, 2018
1 parent 75f1c19 commit f389f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meteor } from 'meteor/meteor';
import { RocketChat } from 'meteor/rocketchat:lib';

Meteor.methods({
listEmojiCustom(options) {
listEmojiCustom(options = {}) {
return RocketChat.models.EmojiCustom.find(options).fetch();
},
});

0 comments on commit f389f65

Please sign in to comment.