fix: clean up manager logic
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -316,8 +316,8 @@ class DefaultController extends ControllerAbstract {
|
||||
$userId,
|
||||
$data['provider'],
|
||||
$data['identifier'],
|
||||
$data['data'],
|
||||
$data['delta'] ?? false,
|
||||
$data['data']
|
||||
);
|
||||
}
|
||||
|
||||
@@ -515,7 +515,7 @@ class DefaultController extends ControllerAbstract {
|
||||
$userId,
|
||||
$data['provider'],
|
||||
$data['service'],
|
||||
$targetIdentifier->collection() ?? null,
|
||||
$targetIdentifier ?? null,
|
||||
$data['properties']
|
||||
);
|
||||
}
|
||||
@@ -807,7 +807,7 @@ class DefaultController extends ControllerAbstract {
|
||||
}
|
||||
}
|
||||
|
||||
return $this->mailManager->entityDelete($tenantId, $userId, $sources);
|
||||
return $this->mailManager->entityDelete($tenantId, $userId, ...$sources->all());
|
||||
}
|
||||
|
||||
private function entityPatch(string $tenantId, string $userId, array $data): mixed {
|
||||
@@ -860,7 +860,7 @@ class DefaultController extends ControllerAbstract {
|
||||
}
|
||||
}
|
||||
|
||||
return $this->mailManager->entityMove($tenantId, $userId, $target, $sources);
|
||||
return $this->mailManager->entityMove($tenantId, $userId, $target, ...$sources->all());
|
||||
}
|
||||
|
||||
private function entityTransmit(string $tenantId, string $userId, array $data): mixed {
|
||||
|
||||
Reference in New Issue
Block a user