no message
This commit is contained in:
parent
03d37425ae
commit
49fe21ae94
1 changed files with 8 additions and 2 deletions
|
|
@ -418,7 +418,10 @@ export class WorkflowController extends Controller {
|
||||||
//noti
|
//noti
|
||||||
let profileNow = workflow.stateOperatorUsers
|
let profileNow = workflow.stateOperatorUsers
|
||||||
.filter((x) => state.stateOperators.map((s) => s.operator).includes(x.operator))
|
.filter((x) => state.stateOperators.map((s) => s.operator).includes(x.operator))
|
||||||
.map((x) => x.profile);
|
.map((x) => ({
|
||||||
|
receiverUserId: x.profile,
|
||||||
|
notiLink: "",
|
||||||
|
}));
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(req, "/placement/noti/profiles", {
|
.PostData(req, "/placement/noti/profiles", {
|
||||||
subject: `รายการถูกส่ง`,
|
subject: `รายการถูกส่ง`,
|
||||||
|
|
@ -435,7 +438,10 @@ export class WorkflowController extends Controller {
|
||||||
if (_state != null) {
|
if (_state != null) {
|
||||||
let profileNext = workflow.stateOperatorUsers
|
let profileNext = workflow.stateOperatorUsers
|
||||||
.filter((x) => _state.stateOperators.map((s) => s.operator).includes(x.operator))
|
.filter((x) => _state.stateOperators.map((s) => s.operator).includes(x.operator))
|
||||||
.map((x) => x.profile);
|
.map((x) => ({
|
||||||
|
receiverUserId: x.profile,
|
||||||
|
notiLink: "",
|
||||||
|
}));
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(req, "/placement/noti/profiles", {
|
.PostData(req, "/placement/noti/profiles", {
|
||||||
subject: `ได้รับรายการ`,
|
subject: `ได้รับรายการ`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue