refactor(backend-&-frontend): change bookmarks api urls to /api/bookmarks/{path} from /api/favorites/{path}

BREAKING CHANGE:
This commit is contained in:
Kentai Radiquum 2024-05-01 11:49:07 +05:00
parent 278d0ec1f2
commit f535d09e97
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
6 changed files with 40 additions and 34 deletions

View file

@ -46,7 +46,7 @@ export const ReleaseInfo = (props) => {
useEffect(() => {
async function _setList() {
const url = `${endpoints.user.profile}/${props.id}/${list}/add?token=${userStore.token}`;
const url = `${endpoints.user.bookmarks.list}/${list}/${props.id}/add?token=${userStore.token}`;
await getData(url);
}
if (