Skip to content

Commit

Permalink
Test GET recon
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Apr 19, 2024
1 parent e6be917 commit 45a1d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/recon/recon.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable } from "@nestjs/common";
import { ArtsdataService } from "../artsdata";
import { ReconciliationRequest, ReconciliationResponse } from "../../dto";
import { ReconciliationQuery, ReconciliationResponse } from "../../dto";

@Injectable()
export class ReconciliationService {
Expand All @@ -12,7 +12,7 @@ export class ReconciliationService {
return this._artsdataService.getReconciliationResult(name, type);
}

async reconcileByQueries(reconciliationRequest: ReconciliationRequest[]): Promise<ReconciliationResponse[]> {
async reconcileByQueries(reconciliationRequest: ReconciliationQuery[]): Promise<ReconciliationResponse[]> {
const promises = reconciliationRequest.map(query =>
this._artsdataService.getReconciliationResult(query.query, query.type)
);
Expand Down

0 comments on commit 45a1d21

Please sign in to comment.