Skip to content

Commit

Permalink
[FIX] Message updating by Apps (#13294)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Feb 1, 2019
1 parent 7ab34af commit be37ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-apps/server/converters/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class AppMessagesConverter {
}

convertById(msgId) {
const msg = RocketChat.models.Messages.getOneById(msgId);
const msg = RocketChat.models.Messages.findOneById(msgId);

return this.convertMessage(msg);
}
Expand Down

0 comments on commit be37ef3

Please sign in to comment.