Skip to content

Commit

Permalink
Merge pull request #5 from ccims/feature/fix_missing_await
Browse files Browse the repository at this point in the history
add missing await
  • Loading branch information
chriku authored Sep 16, 2024
2 parents af85274 + ad5304b commit 8504ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/backend-services/ims-user-finding.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class ImsUserFindingService {
if (requiredTemplatedValues[key] != node[key]) {
return false;
}
if (deepEqual(requiredTemplatedValues[key], node[key])) {
if (!deepEqual(requiredTemplatedValues[key], node[key])) {
return false;
}
delete requiredTemplatedValues[key];
Expand Down Expand Up @@ -130,7 +130,7 @@ export class ImsUserFindingService {
const allInstances = await strategy.getAllInstances();
await Promise.all(
allInstances.map(async (instance) => {
if (this.checkIfInstanceMatches(strategy, instance, ims, imsTemplatedValues)) {
if (await this.checkIfInstanceMatches(strategy, instance, ims, imsTemplatedValues)) {
matchingInstances.push({ instance, strategy });
}
}),
Expand Down

0 comments on commit 8504ccf

Please sign in to comment.