mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
Merge pull request #76 from robinWongM/hotfix/subscribe-not-working
fix: pass all arguments to proxied trpc client method
This commit is contained in:
@@ -61,7 +61,7 @@ export function createNuxtProxyDecoration<TRouter extends AnyRouter> (name: stri
|
||||
}), asyncDataOptions)
|
||||
}
|
||||
|
||||
return (client as any)[path][lastArg](input)
|
||||
return (client as any)[path][lastArg](...args)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user