Skip to content

Commit 5bdfee5

Browse files
committed
Adding explanation text
1 parent f0099d4 commit 5bdfee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ app.get("/netflix_titles", async (req, res) => {
8282
titles = titles.sort((a, b) => b.rating - a.rating); // Sort by rating
8383
}
8484

85-
// Sätt header och skicka indenterad JSON
85+
// Set header and send indented JSON
8686
res.setHeader("Content-Type", "application/json");
8787
res.send(JSON.stringify(titles, null, 2));
8888
} catch (error) {

0 commit comments

Comments
 (0)