瀏覽代碼

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")
         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(
             req,