File tree 2 files changed +14
-15
lines changed 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,18 @@ export default class Citation extends Concept {
23
23
getPermittedJsonSearchParams ( ) {
24
24
return [
25
25
...super . getPermittedJsonSearchParams ( ) ,
26
- 'author-name ' ,
27
- 'author-orcid ' ,
26
+ 'author_name ' ,
27
+ 'author_orcid ' ,
28
28
'container' ,
29
- 'identifier-type ' ,
29
+ 'identifier_type ' ,
30
30
'identifier' ,
31
31
'keyword' ,
32
32
'name' ,
33
- 'native-id ' ,
33
+ 'native_id ' ,
34
34
'provider' ,
35
- 'related-identifier ' ,
36
- 'relationship-type ' ,
37
- 'resolution-authority ' ,
35
+ 'related_identifier ' ,
36
+ 'relationship_type ' ,
37
+ 'resolution_authority ' ,
38
38
'title' ,
39
39
'type' ,
40
40
'year'
@@ -47,18 +47,18 @@ export default class Citation extends Concept {
47
47
getPermittedUmmSearchParams ( ) {
48
48
return [
49
49
...super . getPermittedUmmSearchParams ( ) ,
50
- 'author-name ' ,
51
- 'author-orcid ' ,
50
+ 'author_name ' ,
51
+ 'author_orcid ' ,
52
52
'container' ,
53
- 'identifier-type ' ,
53
+ 'identifier_type ' ,
54
54
'identifier' ,
55
55
'keyword' ,
56
56
'name' ,
57
- 'native-id ' ,
57
+ 'native_id ' ,
58
58
'provider' ,
59
- 'related-identifier ' ,
60
- 'relationship-type ' ,
61
- 'resolution-authority ' ,
59
+ 'related_identifier ' ,
60
+ 'relationship_type ' ,
61
+ 'resolution_authority ' ,
62
62
'title' ,
63
63
'type' ,
64
64
'year'
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ describe('Citation', () => {
180
180
} )
181
181
182
182
const { data, errors } = response . body . singleResult
183
- console . log ( '🚀 ~ test ~ errors:' , errors )
184
183
185
184
expect ( errors ) . toBeUndefined ( )
186
185
You can’t perform that action at this time.
0 commit comments