playov2-js-utilities 0.3.15 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,6 +34,7 @@ if (!PROJECT || !LOCATION) {
|
|
|
34
34
|
* }
|
|
35
35
|
* @param {String} taskId -used as de-duplication key
|
|
36
36
|
* @param {String} requestId
|
|
37
|
+
* @returns {}
|
|
37
38
|
*/
|
|
38
39
|
async function createHttpTask(queueId, payload, messageProcessingProperties, taskId, requestId) {
|
|
39
40
|
|
|
@@ -69,9 +70,10 @@ async function createHttpTask(queueId, payload, messageProcessingProperties, tas
|
|
|
69
70
|
const request = { parent: parent, task: task };
|
|
70
71
|
const [response] = await client.createTask(request);
|
|
71
72
|
|
|
72
|
-
LOGGER.info(requestId, { name: response.name, response }, `Added task to queue ${queueId}}`)
|
|
73
|
+
LOGGER.info(requestId, { name: response.name, response }, `Added task to queue ${queueId}}`);
|
|
74
|
+
return response;
|
|
73
75
|
} catch (err) {
|
|
74
|
-
|
|
76
|
+
throw err;
|
|
75
77
|
}
|
|
76
78
|
};
|
|
77
79
|
|
|
@@ -163,7 +163,7 @@ const config = {
|
|
|
163
163
|
target: "group",
|
|
164
164
|
path: "board",
|
|
165
165
|
title: "Group Update",
|
|
166
|
-
type: ["drawer","push"],
|
|
166
|
+
type: ["drawer", "push"],
|
|
167
167
|
buttons: [],
|
|
168
168
|
android_channel_id: notificationChannels.group_updates
|
|
169
169
|
},
|
|
@@ -413,7 +413,7 @@ const config = {
|
|
|
413
413
|
},
|
|
414
414
|
[notificationIds.HOST_ACTIVITY_PAYOUT]: {
|
|
415
415
|
category: notificationCategories.ACTIVITY,
|
|
416
|
-
target: "
|
|
416
|
+
target: "passbook/0",
|
|
417
417
|
title: "Activity Update",
|
|
418
418
|
type: ["push", "drawer"],
|
|
419
419
|
buttons: [],
|
|
@@ -435,11 +435,11 @@ const config = {
|
|
|
435
435
|
buttons: [],
|
|
436
436
|
android_channel_id: notificationChannels.activity_query
|
|
437
437
|
},
|
|
438
|
-
[notificationIds.ACTIVITY_REMINDER]
|
|
438
|
+
[notificationIds.ACTIVITY_REMINDER]: {
|
|
439
439
|
category: notificationCategories.ACTIVITY,
|
|
440
440
|
target: "match",
|
|
441
441
|
title: "Activity Reminder",
|
|
442
|
-
type: ["push"
|
|
442
|
+
type: ["push"],
|
|
443
443
|
buttons: [],
|
|
444
444
|
android_channel_id: notificationChannels.activity_reminders
|
|
445
445
|
}
|