Upon further inspection, where’d you get that code sample from? The documentation quotes the correct way of doing it
This is from the code block, in the Getting Started section 👇🏻