mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-03 19:39:39 +05:00
refactor(backend-&-frontend): change bookmarks api urls to /api/bookmarks/{path} from /api/favorites/{path}
BREAKING CHANGE:
This commit is contained in:
parent
278d0ec1f2
commit
f535d09e97
6 changed files with 40 additions and 34 deletions
|
@ -17,7 +17,7 @@ export default function History() {
|
|||
|
||||
async function fetchData(page = 0) {
|
||||
if (userStore.token) {
|
||||
const url = `${endpoints.user.history}?page=${page}&token=${userStore.token}`;
|
||||
const url = `${endpoints.user.bookmarks.history}?page=${page}&token=${userStore.token}`;
|
||||
const data = await getData(url);
|
||||
|
||||
if (data.content.length < 25) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue