MERN Stack Tutorial Video

Hi everyone,
I did everything in the Mern Stack Tutorial Video and now I am stuck at the MongoDB Realm part.
When I try to use the multi query code here, then I get the message that restaurantsPerPage cannot be resolved. Is some edit not shown in the video? Or is this outdated and needs to be done in a different way?