diff options
Diffstat (limited to 'lib/nwc.ts')
| -rw-r--r-- | lib/nwc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,8 +59,8 @@ export default () => { if (!methods.includes(method)) return; try { - const app = await g(pubkey); - if (!app) fail(`pubkey not found`); + const app = await g(`app:${pubkey}`); + if (!app) fail("pubkey not found"); const user = await g(`user:${app.uid}`); const result = await handle(method, params, ev, app, user); |
