You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Pingback actions to simplify data handling and improve code consistency. Updated Add, Create, Remove, and Update Subscriber actions to use a unified data structure. Introduced parseCustomFields utility for better custom fields management.
Copy file name to clipboardExpand all lines: components/pingback/actions/add-subscriber-to-segmentation-lists/add-subscriber-to-segmentation-lists.mjs
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
-
import{defineAction}from"@pipedream/types";
2
1
import{parseObject}from"../../common/utils.mjs";
3
2
importpingbackfrom"../../pingback.app.mjs";
4
3
5
-
exportdefaultdefineAction({
4
+
exportdefault{
6
5
name: "Add Subscriber To Segmentation Lists",
7
6
description: "Add a subscriber to segmentation lists by email [See the documentation](https://developer.pingback.com/docs/api/add-subscriber-to-segment)",
Copy file name to clipboardExpand all lines: components/pingback/actions/remove-subscriber-from-segmentation-list/remove-subscriber-from-segmentation-list.mjs
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
-
import{defineAction}from"@pipedream/types";
2
1
importpingbackfrom"../../pingback.app.mjs";
3
2
4
-
exportdefaultdefineAction({
3
+
exportdefault{
5
4
name: "Remove Subscriber From Segmentation List",
6
5
description: "Remove a subscriber from a segmentation list by email [See the documentation](https://developer.pingback.com/docs/api/remove-subscriber-from-segment)",
0 commit comments