Skip to content
Snippets Groups Projects
Verified Commit 50fb5543 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Increased page size for favorites fetch to reduce HTTP roundtrip

parent 1f084750
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,8 @@ export default {
fetch ({dispatch, state, commit, rootState}, url) {
// will fetch favorites by batches from API to have them locally
let params = {
user: rootState.auth.profile.id
user: rootState.auth.profile.id,
page_size: 50
}
url = url || 'favorites/tracks/'
return axios.get(url, {params: params}).then((response) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment