kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Increased page size for favorites fetch to reduce HTTP roundtrip
rodzic
1f08475017
commit
50fb5543c9
|
@ -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) => {
|
||||
|
|
Ładowanie…
Reference in New Issue