fix wrong page size when fetching pictures.

This commit is contained in:
thomas girod 2024-08-09 17:35:33 +02:00
parent 3ef38fabdb
commit c56d6e3f6b

View File

@ -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}`;