From e21c48f52cfe568877f5accfe5fcedeea3f91418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Cort=C3=A9s?= Date: Fri, 20 Nov 2020 18:04:52 -0300 Subject: [PATCH] Indicar pagina en los resultados de photos --- home/services/photos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/services/photos.py b/home/services/photos.py index ae26a46..b61ab84 100644 --- a/home/services/photos.py +++ b/home/services/photos.py @@ -56,7 +56,7 @@ def get(key, page): """ photos = query_api(key, page) simple = simplify_data(photos) - return {'results': simple} + return {'page': page, 'results': simple}