mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
use 'params' as per json_rpc
This commit is contained in:
parent
159dc711e1
commit
ed1d06d9ce
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ class LokiMessageAPI {
|
|||
const url = `${nodeUrl}${this.messageServerPort}/v1/storage_rpc`;
|
||||
const body = {
|
||||
method: 'store',
|
||||
args: {
|
||||
params: {
|
||||
pubKey,
|
||||
ttl: ttl.toString(),
|
||||
nonce,
|
||||
|
@ -218,7 +218,7 @@ class LokiMessageAPI {
|
|||
const url = `${nodeUrl}${this.messageServerPort}/v1/storage_rpc`;
|
||||
const body = {
|
||||
method: 'retrieve',
|
||||
args: {
|
||||
params: {
|
||||
pubKey: ourKey,
|
||||
lastHash: nodeData.lastHash,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue