diff options
| author | Adam Soltys <[email protected]> | 2024-09-19 13:21:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-19 13:21:26 -0700 |
| commit | 718e3541cffe2103512b19f4945dfcc79813555d (patch) | |
| tree | d61011bca201d4131df45423d7afb62d70c2f0f9 /lib | |
| parent | a8dce552da00fcdd144dbc2a39d660c342d4c7b5 (diff) | |
| download | coinos-server-718e3541cffe2103512b19f4945dfcc79813555d.tar.gz coinos-server-718e3541cffe2103512b19f4945dfcc79813555d.zip | |
explode result
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nwc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ export default () => { let user = await g(`user:${uid}`); let result = await handle(method, params, user); - let payload = JSON.stringify({ result_type: method, result }); + let payload = JSON.stringify({ result_type: method, ...result }); content = await nip04.encrypt(sk, pubkey, payload); let response: UnsignedEvent = { |
