mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
fix wrong page size when fetching pictures.
This commit is contained in:
parent
3ef38fabdb
commit
c56d6e3f6b
@ -94,7 +94,7 @@
|
|||||||
from paginated routes.
|
from paginated routes.
|
||||||
In order to download all the user pictures, it may be needed
|
In order to download all the user pictures, it may be needed
|
||||||
to performs multiple requests #}
|
to performs multiple requests #}
|
||||||
const max_per_page = 1;
|
const max_per_page = 199;
|
||||||
const url = "{{ url("api:pictures") }}"
|
const url = "{{ url("api:pictures") }}"
|
||||||
+ "?users_identified={{ object.id }}"
|
+ "?users_identified={{ object.id }}"
|
||||||
+ `&page_size=${max_per_page}`;
|
+ `&page_size=${max_per_page}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user