Chore: Migrate methods/getSingleMessage to TS (#3700)

* migrate getSingleMessage to TS

* minor tweak
This commit is contained in:
Gerzon Z 2022-02-16 10:42:32 -04:00 committed by GitHub
parent 71a50875d3
commit 7634297439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import RocketChat from '../rocketchat';
const getSingleMessage = messageId =>
const getSingleMessage = (messageId: string) =>
new Promise(async (resolve, reject) => {
try {
const result = await RocketChat.getSingleMessage(messageId);