Browse Source

fix: test gateway

pull/7900/head
feng626 3 years ago committed by 老广
parent
commit
1433c35ff9
  1. 2
      apps/assets/api/domain.py

2
apps/assets/api/domain.py

@ -40,7 +40,7 @@ class GatewayTestConnectionApi(SingleObjectMixin, APIView):
queryset = Gateway.objects.all()
object = None
rbac_perms = {
'POST': 'assets.change_gateway'
'POST': 'assets.test_gateway'
}
def post(self, request, *args, **kwargs):

Loading…
Cancel
Save