From babbbd8be174ac3c360571b57aff8f4f08618512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Zi=C3=B3=C5=82ek?= Date: Thu, 14 Mar 2024 14:12:15 +0100 Subject: [PATCH 1/2] style: explicitly add information that matchedRewards include patron funds --- backend/app/infrastructure/routes/epochs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/app/infrastructure/routes/epochs.py b/backend/app/infrastructure/routes/epochs.py index 951426ccd7..f9414c5d73 100644 --- a/backend/app/infrastructure/routes/epochs.py +++ b/backend/app/infrastructure/routes/epochs.py @@ -90,7 +90,9 @@ def get(self): required=False, description="Matching fund budget coming from patrons." ), "matchedRewards": fields.String( - required=False, description="Total matched rewards for the given epoch." + required=False, + description="""Total matched rewards for the given epoch. + Includes matchedRewards from Golem Foundation and funds from patrons.""" ), "leftover": fields.String( required=False, From e80c54c4b833d06063827fe81cf2931bb5db13fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Zi=C3=B3=C5=82ek?= Date: Thu, 14 Mar 2024 14:14:02 +0100 Subject: [PATCH 2/2] style: verbose changed to variable name --- backend/app/infrastructure/routes/epochs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/infrastructure/routes/epochs.py b/backend/app/infrastructure/routes/epochs.py index f9414c5d73..f75a9e8282 100644 --- a/backend/app/infrastructure/routes/epochs.py +++ b/backend/app/infrastructure/routes/epochs.py @@ -92,7 +92,7 @@ def get(self): "matchedRewards": fields.String( required=False, description="""Total matched rewards for the given epoch. - Includes matchedRewards from Golem Foundation and funds from patrons.""" + Includes matchedRewards from Golem Foundation and patronRewards.""", ), "leftover": fields.String( required=False,