Updated scorer config object name
This commit is contained in:
@@ -36,7 +36,7 @@ export default class GreeterService extends Service {
|
|||||||
limit: string;
|
limit: string;
|
||||||
offset: string;
|
offset: string;
|
||||||
resources: string;
|
resources: string;
|
||||||
scorerData: {
|
scorerConfiguration: {
|
||||||
searchQuery: {
|
searchQuery: {
|
||||||
issue: object;
|
issue: object;
|
||||||
series: object;
|
series: object;
|
||||||
@@ -56,8 +56,8 @@ export default class GreeterService extends Service {
|
|||||||
const matches = JSON.parse(r);
|
const matches = JSON.parse(r);
|
||||||
return matchScorer(
|
return matchScorer(
|
||||||
matches.results,
|
matches.results,
|
||||||
ctx.params.scorerData.searchQuery,
|
ctx.params.scorerConfiguration.searchQuery,
|
||||||
ctx.params.scorerData.rawFileDetails
|
ctx.params.scorerConfiguration.rawFileDetails
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
headers: { Accept: "application/json" },
|
headers: { Accept: "application/json" },
|
||||||
|
|||||||
Reference in New Issue
Block a user