diff --git a/src/docs/asciidoc/reference_doc/ui_api.adoc b/src/docs/asciidoc/reference_doc/ui_api.adoc index 763c5d900f..e3320ae8e4 100644 --- a/src/docs/asciidoc/reference_doc/ui_api.adoc +++ b/src/docs/asciidoc/reference_doc/ui_api.adoc @@ -446,7 +446,7 @@ If the method throws an error, the error message will be shown to the user on th For example : ``` - opfab.currentCard.registerFunctionToBeCalledBeforeCardSending( async(cardToBeSent) => { + opfab.currentUserCard.registerFunctionToBeCalledBeforeCardSending( async(cardToBeSent) => { // do some stuff