fix(diagnostics): resolve FilterMap type error in performance-profile-repository [BUG-3]
This commit is contained in:
parent
7714ab51fb
commit
eb83b83035
@ -61,8 +61,8 @@ export async function queryProfiles(
|
||||
const collection = profilesCollection();
|
||||
const pk = `${productId}:${sessionId}`;
|
||||
|
||||
// Build filter
|
||||
const filter: FilterMap = { pk };
|
||||
// Build filter dynamically
|
||||
const filter: Record<string, string> = { pk };
|
||||
if (query.profileType) {
|
||||
filter.profileType = query.profileType;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user