Skip to content

Commit

Permalink
Fix civic loader on api schema change
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieulemieux committed May 30, 2022
1 parent 7c66ff4 commit 94b8b87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bcgsc-pori/graphkb-loader",
"main": "src/index.js",
"version": "6.3.0",
"version": "6.3.1",
"repository": {
"type": "git",
"url": "https://github.com/bcgsc/pori_graphkb_loader.git"
Expand Down
2 changes: 1 addition & 1 deletion src/civic/evidenceItems.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ query evidenceItems(
$phenotypeId: Int
$sortBy: EvidenceSort
$sourceId: Int
$status: EvidenceStatus
$status: EvidenceStatusFilter
$userId: Int
$variantId: Int
$variantName: String
Expand Down
2 changes: 1 addition & 1 deletion src/civic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ const fetchDeletedEvidenceItems = async (url) => {
// Get rejected evidenceItems
logger.info(`loading rejected evidenceItems from ${url}`);
const rejected = await requestEvidenceItems(url, {
query: `query evidenceItems($after: String, $status: EvidenceStatus) {
query: `query evidenceItems($after: String, $status: EvidenceStatusFilter) {
evidenceItems(after: $after, status: $status) {
nodes {id}
pageCount
Expand Down

0 comments on commit 94b8b87

Please sign in to comment.