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 collection = profilesCollection();
|
||||||
const pk = `${productId}:${sessionId}`;
|
const pk = `${productId}:${sessionId}`;
|
||||||
|
|
||||||
// Build filter
|
// Build filter dynamically
|
||||||
const filter: FilterMap = { pk };
|
const filter: Record<string, string> = { pk };
|
||||||
if (query.profileType) {
|
if (query.profileType) {
|
||||||
filter.profileType = query.profileType;
|
filter.profileType = query.profileType;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user