add node to scheduled node
This commit is contained in:
parent
d47a0235d2
commit
a9265abeae
8 changed files with 88 additions and 6 deletions
|
|
@ -20,6 +20,7 @@ class JsonScheduledNodeRepository implements ScheduledNodeRepository
|
|||
'id' => $id,
|
||||
'date' => $dto->date->format('Y-m-d'),
|
||||
'planId' => $dto->plan->getId(),
|
||||
'nodeId' => $dto->node->getId(),
|
||||
];
|
||||
$this->writeScheduledNodes($scheduledNodes);
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ class JsonScheduledNodeRepository implements ScheduledNodeRepository
|
|||
id: $id,
|
||||
date: $dto->date,
|
||||
plan: $dto->plan,
|
||||
node: $dto->node,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue