This commit is contained in:
oleg.vodyanov91@gmail.com 2025-04-23 10:45:23 +04:00
parent 8e9a052d34
commit 9303b3a6e6

View File

@ -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;