From 3515276cb637670fee061578c33a26a28139d0c2 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 3 Apr 2024 09:59:40 -0700 Subject: [PATCH 1/2] Fix regression caused by incorrect code copy paste. --- kolibri/plugins/user_profile/viewsets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kolibri/plugins/user_profile/viewsets.py b/kolibri/plugins/user_profile/viewsets.py index 020ad630409..63d596538a9 100644 --- a/kolibri/plugins/user_profile/viewsets.py +++ b/kolibri/plugins/user_profile/viewsets.py @@ -53,7 +53,7 @@ def get(self, request): class RemoteFacilityUserAuthenticatedViewset(APIView): def post(self, request, *args, **kwargs): - baseurl = request.query_params.get("baseurl", "") + baseurl = request.data.get("baseurl", "") try: validator(baseurl) except DjangoValidationError as e: From 6756572d20ba99cfe7f63040057ea3d0edb4cff4 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 3 Apr 2024 10:00:18 -0700 Subject: [PATCH 2/2] Update yarn.lock file. --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 6e04f4c1691..cd59042c20e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11552,7 +11552,7 @@ vue2-teleport@^1.0.1: resolved "https://registry.yarnpkg.com/vue2-teleport/-/vue2-teleport-1.0.1.tgz#1b7f9f69c1223f522cf6cd81c39b8d6019e1cf66" integrity sha512-hbY/Q0x8qXGFxo6h4KU4YYesUcN+uUjliqqC0PoNSgpcbS2QRb3qXi+7XMTgLYs0a8i7o1H6Mu43UV4Vbgkhgw== -vue@2.6.14, vue@^2.6.14: +vue@2.6.14: version "2.6.14" resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.14.tgz#e51aa5250250d569a3fbad3a8a5a687d6036e235" integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==