@neutron.co.id/pendidikan-operation 1.27.28 → 1.27.29
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.
|
@@ -38,7 +38,7 @@ const sendPointNotification = operation.Action.define({
|
|
|
38
38
|
"Content-Type": "application/json"
|
|
39
39
|
},
|
|
40
40
|
body: {
|
|
41
|
-
name:
|
|
41
|
+
name: data.moduleType,
|
|
42
42
|
to: {
|
|
43
43
|
subscriberId: student.userId,
|
|
44
44
|
email: student.user?.email || "",
|
|
@@ -52,7 +52,7 @@ const sendPointNotification = operation.Action.define({
|
|
|
52
52
|
fcm: {
|
|
53
53
|
data: {
|
|
54
54
|
userId: String(student.userId),
|
|
55
|
-
moduleType:
|
|
55
|
+
moduleType: data.moduleType,
|
|
56
56
|
moduleId: String(data?.moduleId)
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -63,11 +63,11 @@ const sendPointNotification = operation.Action.define({
|
|
|
63
63
|
model: "neu:data:notification",
|
|
64
64
|
data: {
|
|
65
65
|
userId: student.userId,
|
|
66
|
-
moduleType:
|
|
66
|
+
moduleType: data.moduleType,
|
|
67
67
|
moduleId: data?.moduleId,
|
|
68
68
|
messageData: {
|
|
69
69
|
id: data?.moduleId,
|
|
70
|
-
message: `Kamu baru saja menerima transfer sebesar ${data?.point} poin. Cek transaksinya
|
|
70
|
+
message: data.moduleType === "transfer-point" ? "Bayar Berhasil! Poin kamu telah digunakan untuk pembayaran. Cek transaksinya!" : `Kamu baru saja menerima transfer sebesar ${data?.point} poin. Cek transaksinya!`
|
|
71
71
|
},
|
|
72
72
|
url: `${config?.appFluffyUrl}/transaksi`
|
|
73
73
|
}
|
|
@@ -36,7 +36,7 @@ const sendPointNotification = Action.define({
|
|
|
36
36
|
"Content-Type": "application/json"
|
|
37
37
|
},
|
|
38
38
|
body: {
|
|
39
|
-
name:
|
|
39
|
+
name: data.moduleType,
|
|
40
40
|
to: {
|
|
41
41
|
subscriberId: student.userId,
|
|
42
42
|
email: student.user?.email || "",
|
|
@@ -50,7 +50,7 @@ const sendPointNotification = Action.define({
|
|
|
50
50
|
fcm: {
|
|
51
51
|
data: {
|
|
52
52
|
userId: String(student.userId),
|
|
53
|
-
moduleType:
|
|
53
|
+
moduleType: data.moduleType,
|
|
54
54
|
moduleId: String(data?.moduleId)
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -61,11 +61,11 @@ const sendPointNotification = Action.define({
|
|
|
61
61
|
model: "neu:data:notification",
|
|
62
62
|
data: {
|
|
63
63
|
userId: student.userId,
|
|
64
|
-
moduleType:
|
|
64
|
+
moduleType: data.moduleType,
|
|
65
65
|
moduleId: data?.moduleId,
|
|
66
66
|
messageData: {
|
|
67
67
|
id: data?.moduleId,
|
|
68
|
-
message: `Kamu baru saja menerima transfer sebesar ${data?.point} poin. Cek transaksinya
|
|
68
|
+
message: data.moduleType === "transfer-point" ? "Bayar Berhasil! Poin kamu telah digunakan untuk pembayaran. Cek transaksinya!" : `Kamu baru saja menerima transfer sebesar ${data?.point} poin. Cek transaksinya!`
|
|
69
69
|
},
|
|
70
70
|
url: `${config?.appFluffyUrl}/transaksi`
|
|
71
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/pendidikan-operation",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.29",
|
|
4
4
|
"description": "Operation package of Neutron Pendidikan.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"build":
|
|
89
|
+
"build": 154
|
|
90
90
|
}
|