Update helpers.ts

This commit is contained in:
Nate Kelley 2025-04-11 10:00:35 -06:00
parent 6596d99a35
commit 96a5e54354
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ const chatRouteRecord: Record<
}), }),
dataset: (chatId, assetId) => dataset: (chatId, assetId) =>
createBusterRoute({ createBusterRoute({
route: BusterRoutes.APP_CHAT_ID_DATASET_ID, route: BusterRoutes.APP_DATASETS_ID,
chatId, // chatId,
datasetId: assetId datasetId: assetId
}), }),
metric: (chatId, assetId, versionNumber) => { metric: (chatId, assetId, versionNumber) => {
@ -55,8 +55,8 @@ const chatRouteRecord: Record<
}, },
term: (chatId, assetId) => term: (chatId, assetId) =>
createBusterRoute({ createBusterRoute({
route: BusterRoutes.APP_CHAT_ID_TERM_ID, route: BusterRoutes.APP_TERMS_ID,
chatId, // chatId,
termId: assetId termId: assetId
}), }),
value: (chatId, assetId) => value: (chatId, assetId) =>