Skip to content

Commit 284e6a8

Browse files
committed
Remove extraneous trailing comma/line for clarity
1 parent 1a81029 commit 284e6a8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

chat-app/frontend/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ let lastIdSeen = -1;
66
async function getAllMessages() {
77
try {
88
const response = await fetch(
9-
`${API_BASE_URL}/messages?since=${lastIdSeen}`,
10-
);
9+
`${API_BASE_URL}/messages?since=${lastIdSeen}`);
1110

1211
// check if the response is not ok
1312
if (!response.ok) {

0 commit comments

Comments
 (0)