Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ChelseaKR committed Feb 27, 2025
1 parent 4352991 commit 8cbe858
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 342 deletions.
5 changes: 3 additions & 2 deletions backend/src/credentialengine/CredentialEngineUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ async function getProviderData(resource: CTDLResource): Promise<Provider | null>
}
}


/**
* Retrieves address information from a given CTDL resource.
* @param resource - The CTDL resource containing address data.
Expand Down Expand Up @@ -351,7 +352,7 @@ const extractOccupations = async (resource: CTDLResource): Promise<Occupation[]>
.filter(
(occupation) =>
occupation["ceterms:frameworkName"]?.["en-US"] ===
"Standard Occupational Classification" &&
"Standard Occupational Classification" &&
occupation["ceterms:codedNotation"] &&
occupation["ceterms:targetNodeName"]?.["en-US"],
)
Expand Down Expand Up @@ -553,7 +554,7 @@ const checkAccommodation = async (resource: CTDLResource, targetNode: string,):
return true;
}
} catch (error) {
console.error(`Error for accommodation check, skipping CTID: ${ctid}`);
console.error(`Error for accommodation check, skipping CTID: ${ctid}`);
}
}
return false;
Expand Down
Loading

0 comments on commit 8cbe858

Please sign in to comment.