We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0099d4 commit 5bdfee5Copy full SHA for 5bdfee5
server.js
@@ -82,7 +82,7 @@ app.get("/netflix_titles", async (req, res) => {
82
titles = titles.sort((a, b) => b.rating - a.rating); // Sort by rating
83
}
84
85
- // Sätt header och skicka indenterad JSON
+ // Set header and send indented JSON
86
res.setHeader("Content-Type", "application/json");
87
res.send(JSON.stringify(titles, null, 2));
88
} catch (error) {
0 commit comments