From 3050bb0b65bee87e83e886328b596b4ba173116a Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Tue, 26 Mar 2024 12:34:10 +0000 Subject: [PATCH] Fix bus in argument ordering when applying for a role. --- jasmin_services/views/role_apply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jasmin_services/views/role_apply.py b/jasmin_services/views/role_apply.py index 77f2980..7772f59 100644 --- a/jasmin_services/views/role_apply.py +++ b/jasmin_services/views/role_apply.py @@ -83,7 +83,7 @@ def setup(self, request, *args, **kwargs): return # Get the previous request or grant, if it is supplies. - error, self.previous_request, self.previous_grant = self.get_previous_request_and_grant( + error, self.previous_grant, self.previous_request = self.get_previous_request_and_grant( kwargs.get("bool_grant", None), kwargs.get("previous", None) ) if error is not None: