Skip to content

Commit

Permalink
GQL-21: Removed print statements and fixed based on PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tle1989 committed Feb 5, 2024
1 parent cfe7664 commit ab43881
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/cmr/concepts/aclConcept.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export default class AclConcept {
fetch(searchParams) {
const params = mergeParams(searchParams)

console.log('🚀 fetch acl params', params)

// Default an array to hold the promises we need to make depending on the requested fields
const promises = []

Expand Down Expand Up @@ -262,10 +260,7 @@ export default class AclConcept {
const { jsonKeys = [] } = this.requestInfo

if (jsonKeys.length) {
console.log('@@@ jsonKeys.length', jsonKeys.length)

// Only json keys were requested, return the json item count

return this.jsonItemCount
}

Expand Down
1 change: 0 additions & 1 deletion src/datasources/acl.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default async (params, context, parsedInfo) => {

const requestInfo = parseRequestedFields(parsedInfo, aclKeyMap, 'acl')

console.log('@@@ datasource requestInfo', requestInfo)
const acl = new Acl(headers, requestInfo, params)

// Query CMR
Expand Down
3 changes: 2 additions & 1 deletion src/types/acl.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type Acl {
name: String
"A URL to retrieve the ACL."
location: String
"Full JSON of the ACL. Included if include_full_acl=true parameter is set."
acl: JSON
}

Expand All @@ -17,7 +18,7 @@ type AclList {
count: Int
"Cursor that points to the/a specific position in a list of requested records."
cursor: String
"some description"
"the list of acl search results"
items: [Acl]
}

Expand Down

0 comments on commit ab43881

Please # to comment.