Skip to content

Commit

Permalink
Update remote-place-cache.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
freddieptf authored Feb 5, 2025
1 parent 81805f6 commit 8b68862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/remote-place-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class RemotePlaceCache {
private static convertContactToRemotePlace(doc: any, uniqueKeyProperties: ContactProperty[], hierarchyLevel: HierarchyConstraint): RemotePlace {
const uniqueKeyStringValues: FormattedPropertyCollection = {};
for (const property of uniqueKeyProperties) {
const value = doc[property.property_name].toString();
const value = doc[property.property_name]?.toString();
if (value) {
uniqueKeyStringValues[property.property_name] = new RemotePlacePropertyValue(value, property);
}
Expand Down

0 comments on commit 8b68862

Please sign in to comment.