Information Security Projects - Anonymous Message Board

Tell us what’s happening:
I’m having trouble passing the delete and Put fcc tests. the errors I’m getting are:

[Error: expected ‘“success”’ to equal ‘success’]
[Error: expected ‘“success”’ to equal ‘success’]
[Error: expected ‘“success”’ to equal ‘reported’]
[Error: expected ‘“success”’ to equal ‘reported’]

I’m not sure where its pulling the double quotations from, my code has single quotations like expects. Im lost, please help

Your project link(s)

solution: boilerplate-project-messageboard - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Information Security Projects - Anonymous Message Board

Link to the challenge:

[SOLVED]: I replaced res.json with res.send and it passes now. Idk what’s the difference but I’m going to and look up now

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.