fix: test gateway

pull/7900/head
feng626 2022-03-17 12:31:14 +08:00 committed by 老广
parent a237b5a63d
commit 1433c35ff9
1 changed files with 1 additions and 1 deletions

View File

@ -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):