Skip to content

Commit

Permalink
fix: Missing typing on modelVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Jan 23, 2025
1 parent afe3ee7 commit 9c041f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dataModelUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const fetchManifest = async (): Promise<DataModelManifest> => {
* @param modelVersion The version of the Data Model to build asset URLs for
* @returns ModelAssetUrls
*/
export const buildAssetUrls = (model: DataCommon, modelVersion): ModelAssetUrls => {
export const buildAssetUrls = (model: DataCommon, modelVersion: string): ModelAssetUrls => {
const { name, assets } = model || {};
const version = modelVersion === "latest" ? assets?.["current-version"] : modelVersion;
const tier = env.REACT_APP_DEV_TIER || "prod";
Expand Down

0 comments on commit 9c041f8

Please sign in to comment.