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) {