Can't pass the "Use the .env File" challenge after the new changement on Replit policy

Yep I did exactly like this

app.get('/json', (function(req,res)   {
 mySecret = process.env['MESSAGE_STYLE'];
 if( mySecret === "uppercase" ){
   res.json({"message" : "hello json".toUpperCase() });
 } else {
   res.json({"message" : "hello json" });
 }
 
}))

First of all it said " Assignment to constant variable." because the assignment above was a “const” but when I changed it to var it showed the same first message “The response of the endpoint …”