Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Use template literal directly, property assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed Nov 30, 2021
1 parent 7a7e4c7 commit 287680f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,7 @@ module.exports = {
});

customAttributes.forEach(({ key, value }) => {
const fullKeyPath = `customAttributes.${key}`;
query.$and.push({ [fullKeyPath]: value });
query.$and.push({ [`customAttributes.${key}`]: value });
});

const siteId = input.siteId || site.id();
Expand Down

0 comments on commit 287680f

Please sign in to comment.