소스 검색

Fix `/endpoint/%s/destination-options` query param reading.

Nashwan Azhari 8 년 전
부모
커밋
65afb3c75b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      coriolis/api/v1/endpoint_destination_options.py

+ 1 - 1
coriolis/api/v1/endpoint_destination_options.py

@@ -23,7 +23,7 @@ class EndpointDestinationOptionsController(api_wsgi.Controller):
 
 
         options = req.GET.get("options")
         options = req.GET.get("options")
         if options is not None:
         if options is not None:
-            options = utils.decode_base64_param(env, is_json=True)
+            options = utils.decode_base64_param(options, is_json=True)
 
 
         return endpoint_destination_options_view.collection(
         return endpoint_destination_options_view.collection(
             req,
             req,