From bd70cda0eb68a2329da743727c3b2a4b7f14589e Mon Sep 17 00:00:00 2001 From: Mohammed S Date: Tue, 16 Apr 2024 21:02:22 +0530 Subject: [PATCH] fix: fix tmp error --- packages/restapi/src/lib/chat/getChatInfo.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/restapi/src/lib/chat/getChatInfo.ts b/packages/restapi/src/lib/chat/getChatInfo.ts index 589843027..b7e0b77db 100644 --- a/packages/restapi/src/lib/chat/getChatInfo.ts +++ b/packages/restapi/src/lib/chat/getChatInfo.ts @@ -40,9 +40,9 @@ export const getChatInfo = async ( const API_BASE_URL = getAPIBaseUrls(env); const requestUrl = `${API_BASE_URL}/v1/chat/${await convertToValidDID( - receipient, + recipient, env - )}/address/${await convertToValidDID(sender, env)}`; + )}/address/${await convertToValidDID(account, env)}`; const response = await axiosGet(requestUrl); return response.data; } catch (err) {