diff --git a/website/docs/define-actions/instance-methods.md b/website/docs/define-actions/instance-methods.md index 3d48e87..d27dc9b 100644 --- a/website/docs/define-actions/instance-methods.md +++ b/website/docs/define-actions/instance-methods.md @@ -73,13 +73,13 @@ Note that when you use `stateAction`, and also want to access `prevResult` in `s ```typescript title="Stateless action" serverCodeFn( - args: { parsedInput, bindArgsParsedInputs, ctx, metadata } + args: { parsedInput, bindArgsParsedInputs, clientInput, bindArgsClientInputs, ctx, metadata } ) => Promise; ``` ```typescript title="Stateful action" serverCodeFn = ( - args: { parsedInput, bindArgsParsedInputs, ctx, metadata }, + args: { parsedInput, bindArgsParsedInputs, clientInput, bindArgsClientInputs, ctx, metadata }, utils: { prevResult } ) => Promise; ```