From e3f4e9797d4f464bf4fa4cdfe523b6e9291e5f30 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Mon, 7 Mar 2022 13:39:02 -0300 Subject: [PATCH] Chore: Migrate REST API - returnLivechat to Typescript (#3843) --- app/lib/rocketchat/services/restApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/rocketchat/services/restApi.ts b/app/lib/rocketchat/services/restApi.ts index 59264a799..e231c5e55 100644 --- a/app/lib/rocketchat/services/restApi.ts +++ b/app/lib/rocketchat/services/restApi.ts @@ -345,7 +345,7 @@ export const editLivechat = (userData: any, roomData: any) => // RC 0.55.0 sdk.methodCallWrapper('livechat:saveInfo', userData, roomData); -export const returnLivechat = (rid: string) => +export const returnLivechat = (rid: string): Promise => // RC 0.72.0 sdk.methodCallWrapper('livechat:returnAsInquiry', rid);