From bce2e9e4fc80b08b6d94b030f74234f4867ffa6a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 31 Aug 2022 00:10:47 -0400 Subject: [PATCH] *Need to return RPCResponse response structure --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 130abdf..8eb0e1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -107,7 +107,9 @@ const plugin: Plugin = { throw e; } - return resp; + return { + data: resp, + }; }, }); },