From 4c490576faba85694604eb24bcf512d92d620760 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Thu, 3 Mar 2022 23:12:36 -0300 Subject: [PATCH] Chore: Migrate REST API - e2eRequestSubscriptionKeys to Typescript (#3813) --- 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 34cd2acea..0e2a27d01 100644 --- a/app/lib/rocketchat/services/restApi.ts +++ b/app/lib/rocketchat/services/restApi.ts @@ -37,7 +37,7 @@ export const e2eSetUserPublicAndPrivateKeys = (public_key: string, private_key: // RC 2.2.0 sdk.post('e2e.setUserPublicAndPrivateKeys', { public_key, private_key }); -export const e2eRequestSubscriptionKeys = (): any => +export const e2eRequestSubscriptionKeys = (): Promise => // RC 0.72.0 sdk.methodCallWrapper('e2e.requestSubscriptionKeys');