Merge pull request #76 from robinWongM/hotfix/subscribe-not-working

fix: pass all arguments to proxied trpc client method
This commit is contained in:
Robert Soriano
2023-03-18 13:56:08 -07:00
committed by GitHub

View File

@@ -61,7 +61,7 @@ export function createNuxtProxyDecoration<TRouter extends AnyRouter> (name: stri
}), asyncDataOptions) }), asyncDataOptions)
} }
return (client as any)[path][lastArg](input) return (client as any)[path][lastArg](...args)
}) })
} }