diff --git a/static/links/main.js b/static/links/main.js index 0337da8..461ba63 100644 --- a/static/links/main.js +++ b/static/links/main.js @@ -7,7 +7,7 @@ const PER_PAGE = 8; let currentPage = 1; function loadLinks() { - fetch('/api/links/?page=${currentPage}&per_page=${PER_PAGE}') + fetch(`/api/links/?page=${currentPage}&per_page=${PER_PAGE}`) .then(res => res.json()) .then(data => { linksData = data.results;