Skip to content

Commit 3015abf

Browse files
committed
GQL-113: Addresses PR feedback
1 parent a2c98b5 commit 3015abf

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

src/cmr/concepts/citation.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ export default class Citation extends Concept {
2323
getPermittedJsonSearchParams() {
2424
return [
2525
...super.getPermittedJsonSearchParams(),
26-
'author-name',
27-
'author-orcid',
26+
'author_name',
27+
'author_orcid',
2828
'container',
29-
'identifier-type',
29+
'identifier_type',
3030
'identifier',
3131
'keyword',
3232
'name',
33-
'native-id',
33+
'native_id',
3434
'provider',
35-
'related-identifier',
36-
'relationship-type',
37-
'resolution-authority',
35+
'related_identifier',
36+
'relationship_type',
37+
'resolution_authority',
3838
'title',
3939
'type',
4040
'year'
@@ -47,18 +47,18 @@ export default class Citation extends Concept {
4747
getPermittedUmmSearchParams() {
4848
return [
4949
...super.getPermittedUmmSearchParams(),
50-
'author-name',
51-
'author-orcid',
50+
'author_name',
51+
'author_orcid',
5252
'container',
53-
'identifier-type',
53+
'identifier_type',
5454
'identifier',
5555
'keyword',
5656
'name',
57-
'native-id',
57+
'native_id',
5858
'provider',
59-
'related-identifier',
60-
'relationship-type',
61-
'resolution-authority',
59+
'related_identifier',
60+
'relationship_type',
61+
'resolution_authority',
6262
'title',
6363
'type',
6464
'year'

src/resolvers/__tests__/citation.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ describe('Citation', () => {
180180
})
181181

182182
const { data, errors } = response.body.singleResult
183-
console.log('🚀 ~ test ~ errors:', errors)
184183

185184
expect(errors).toBeUndefined()
186185

0 commit comments

Comments
 (0)