Skip to content

Commit

Permalink
fix serialization of institutional_request_access_enabled to not be…
Browse files Browse the repository at this point in the history
… string
  • Loading branch information
John Tordoff committed Jan 13, 2025
1 parent 95d71da commit da2abbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/institutions/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class InstitutionSerializer(JSONAPISerializer):
ser.CharField(read_only=True),
permission='view_institutional_metrics',
)
institutional_request_access_enabled = ser.CharField(read_only=True)
institutional_request_access_enabled = ser.BooleanField(read_only=True)
links = LinksField({
'self': 'get_api_url',
'html': 'get_absolute_html_url',
Expand Down

0 comments on commit da2abbd

Please sign in to comment.