mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
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)
|
}), asyncDataOptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (client as any)[path][lastArg](input)
|
return (client as any)[path][lastArg](...args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user