Hello, for some reason, I’m not passing the test on fcc but the code works. Can anyone tell me what I’m doing wrong?
Here’s the code:
https://boilerplate-express-2.veljkocukic.repl.co/json
var express = require('express');
var app = express();
const mySecret = process.env['MESSAGE_STYLE']
app.get("/json",(req,res)=>{
if(mySecret === "uppercase"){
res.json({"message":"HELLO JSON"})
}else{
res.json({"message":"Hello json"})
}
})