[TIDOC-1723] Fix code sample