Skip to content

Commit 49a2555

Browse files
committed
Only send repository ids in databases param
At the moment we're only able to send one of: - repositories - repositoryLists - repositoryOwners In the future, we intend to be able to send a combination of these but at the moment the API will only ever allow you to send one. So let's be consistent and just send `repositories` here.
1 parent f4e6a0d commit 49a2555

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

extensions/ql-vscode/src/vscode-tests/cli-integration/remote-queries/variant-analysis-processor.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ describe('Variant Analysis processor', function() {
3434
},
3535
'databases': {
3636
'repositories': ['1', '2', '3'],
37-
'repositoryLists': ['top10', 'top100'],
38-
'repositoryOwners': ['mona', 'lisa']
3937
},
4038
'status': 'succeeded',
4139
'actionsWorkflowRunId': 456,

extensions/ql-vscode/src/vscode-tests/factories/remote-queries/shared/variant-analysis-submission.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export function createMockSubmission(): VariantAnalysisSubmission {
1313
},
1414
databases: {
1515
repositories: ['1', '2', '3'],
16-
repositoryLists: ['top10', 'top100'],
17-
repositoryOwners: ['mona', 'lisa'],
1816
}
1917
};
2018
}

0 commit comments

Comments
 (0)