Skip to content

Commit

Permalink
BREAKING CHANGE: move decoded message inside transaction field for …
Browse files Browse the repository at this point in the history
…JSON RPC support
  • Loading branch information
martiliones committed May 26, 2024
1 parent 4a56fdc commit 6871f14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/api/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ export async function getMessage(id = requiredParam('id'), customPassphrase) {
transaction.asset.chat.own_message,
);

res.transactionDecrypted = {
message: decoded,
};
transaction.decoded = decoded;
}
}

Expand Down

0 comments on commit 6871f14

Please sign in to comment.