Skip to content

Commit

Permalink
Merge pull request #782 from MITLibraries/gdt-151-format-error
Browse files Browse the repository at this point in the history
Updates format to be a single string
  • Loading branch information
JPrevost authored Feb 12, 2024
2 parents b4cfbb7 + f2eedd0 commit e517f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/record_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class RecordType < Types::BaseObject
field :contents, [String], null: true, description: 'Table of contents for item'
field :summary, [String], null: true,
description: 'Summary of contents of item (also where abstract goes if applicable)'
field :format, [String], null: true, description: 'Format of item e.g. "Print Volume", "DVD", etc.'
field :format, String, null: true, description: 'Format of item e.g. "Print Volume", "DVD", etc.'
field :literary_form, String, null: true, description: 'Identifies the item as fiction or nonfiction'
field :related_place, [String], null: true, deprecation_reason: 'Use `locations`'
field :in_bibliography, [String], null: true, deprecation_reason: 'Use `related_items`'
Expand Down

0 comments on commit e517f1d

Please sign in to comment.