flows/transfer: fix missing unique fields for PolicyBinding
This commit is contained in:
@ -12,7 +12,7 @@ class PolicyBindingSerializer(ModelSerializer):
|
||||
class Meta:
|
||||
|
||||
model = PolicyBinding
|
||||
fields = ["policy", "target", "enabled", "order", "timeout"]
|
||||
fields = ["pk", "policy", "target", "enabled", "order", "timeout"]
|
||||
|
||||
|
||||
class PolicyBindingViewSet(ModelViewSet):
|
||||
|
||||
Reference in New Issue
Block a user