Commit d5bf16fb authored by Hamza Dely's avatar Hamza Dely
Browse files

[comptes/serializers] Utilise le bon opérateur pour filtrer les champs

parent 772425f7
......@@ -191,5 +191,5 @@ class AdherentSerializer(serializers.ModelSerializer):
fields = set(kwargs.pop('fields', []))
super().__init__(*args, **kwargs)
for field in set(self.fields) & fields:
for field in set(self.fields) - fields:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment