From 9303b3a6e6a1da73d9161b52c239786ea7896be0 Mon Sep 17 00:00:00 2001 From: "oleg.vodyanov91@gmail.com" Date: Wed, 23 Apr 2025 10:45:23 +0400 Subject: [PATCH] fix --- static/links/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;