From 6595a1d306d9a0d671011173dbcec827ea913974 Mon Sep 17 00:00:00 2001 From: Robin Wong Date: Sat, 18 Mar 2023 03:15:49 +0800 Subject: [PATCH] fix: pass all arguments to proxied trpc client method --- src/client/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/index.ts b/src/client/index.ts index 36f3616..1a8ca4e 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -61,7 +61,7 @@ export function createNuxtProxyDecoration (name: stri }), asyncDataOptions) } - return (client as any)[path][lastArg](input) + return (client as any)[path][lastArg](...args) }) }