Skip to content
Snippets Groups Projects

GREG-243: Adding possibility to set date in consent endpoint. Showing ID for...

Merged Tore.Brede requested to merge GREG-243_fix_consent_api_issues into master
3 files
+ 99
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -11,4 +11,4 @@ class ConsentSerializerBrief(serializers.ModelSerializer):
class Meta:
model = Consent
queryset = Consent.objects.all().select_related("choice")
fields = ["type", "consent_given_at", "choice"]
fields = ["id", "type", "consent_given_at", "choice"]
Loading