diff --git a/api/institutions/serializers.py b/api/institutions/serializers.py index 46a2f4f0bff..0262f9dddd7 100644 --- a/api/institutions/serializers.py +++ b/api/institutions/serializers.py @@ -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', diff --git a/osf/migrations/0025_contributor_is_curator_and_more.py b/osf/migrations/0025_institutional_request_access_enabled_and_more.py similarity index 100% rename from osf/migrations/0025_contributor_is_curator_and_more.py rename to osf/migrations/0025_institutional_request_access_enabled_and_more.py diff --git a/osf/migrations/0026_contributor_is_curator_and_more.py b/osf/migrations/0026_add_is_institutional_request_is_curator.py similarity index 90% rename from osf/migrations/0026_contributor_is_curator_and_more.py rename to osf/migrations/0026_add_is_institutional_request_is_curator.py index 84dbbb32bf1..51da69ada2c 100644 --- a/osf/migrations/0026_contributor_is_curator_and_more.py +++ b/osf/migrations/0026_add_is_institutional_request_is_curator.py @@ -6,7 +6,7 @@ class Migration(migrations.Migration): dependencies = [ - ('osf', '0025_contributor_is_curator_and_more'), + ('osf', '0025_institutional_request_access_enabled_and_more'), ] operations = [