Skip to content

Commit

Permalink
fix: reverted restapi change
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 committed Jun 24, 2024
1 parent e1db1ea commit da1e2f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const sendCore = async (
* 2. Takes care of deprecated fields
*/
const computedOptions = computeOptions(options);
const { messageType, messageObj, account, to, signer, pgpPrivateKey, env } =
let { messageType, messageObj, account, to, signer, pgpPrivateKey, env } =
computedOptions;
/**
* Validate Input Options
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/pushapi/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class Chat {
reference?: string | null;
}
) {
const reference: string | null = null;
let reference: string | null = null;

const { threadHash, intent } = await PUSH_CHAT.conversationHash({
conversationId: target,
Expand Down

0 comments on commit da1e2f7

Please sign in to comment.