Skip to content

Commit

Permalink
Remove scheme from license field
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Jan 30, 2023
1 parent aefaf1f commit 26b19cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions mocks/sample-work1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ export const sampleWork1: WorkShape = {
library_unit: "University Archives",
license: {
id: "foo",
label: "bar",
scheme: "scheme",
label: "bar"
},
modified_date: "2022-02-24T23:51:12.736078Z",
notes: [],
Expand Down
3 changes: 1 addition & 2 deletions mocks/sample-work2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export const sampleWork2: WorkShape = {
library_unit: "University Archives",
license: {
id: "foo",
label: "bar",
scheme: "scheme",
label: "bar"
},
modified_date: "2022-02-24T23:51:12.736078Z",

Expand Down
2 changes: 1 addition & 1 deletion types/components/works.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface WorkShape {
language: Array<Language>;
legacy_identifier: Array<string>;
library_unit: string;
license: IdLabelScheme | null;
license: GenericIdLabel | null;
modified_date: string;
notes: Array<Note>;
physical_description_material: Array<string>;
Expand Down

0 comments on commit 26b19cc

Please sign in to comment.