Skip to content

Commit

Permalink
update userListId prop
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle0927 committed Feb 19, 2025
1 parent d8c6b91 commit 97c8468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/google_ads/common/queries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function listUserLists() {
const fields = [
"id",
"name",
"type",
].map((s) => `user_list.${s}`).join(", ");

return `SELECT ${fields} FROM user_list`;
Expand Down
2 changes: 1 addition & 1 deletion components/google_ads/google_ads.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {
accountId,
customerClientId,
});
return response?.map(({
return response?.filter(({ userList: { type } }) => type === "CRM_BASED")?.map(({
userList: {
id, name,
},
Expand Down

0 comments on commit 97c8468

Please sign in to comment.