Verified Commit a799e46b authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(gateway) - simply add gateway to get methods

1 merge request!79Resolve "[Orchestrator] - Automatic Archiving Based on SupAnn Resource States"
Pipeline #32342 passed with stages
in 18 seconds
Showing with 8 additions and 1 deletion
+8 -1
.vendor/ .vendor/
.composer.lock .composer.lock
filelist
phpstan.neon
.idea/fusiondirectory-orchestrator.iml
.idea/modules.xml
.idea/php.xml
.idea/vcs.xml
.idea/codeStyles/codeStyleConfig.xml
...@@ -55,7 +55,7 @@ class TaskController ...@@ -55,7 +55,7 @@ class TaskController
switch ($objectType) { switch ($objectType) {
case $objectType: case $objectType:
if (class_exists($objectType)) { if (class_exists($objectType)) {
$endpoint = new $objectType; $endpoint = new $objectType($this->gateway);
$result = $endpoint->processEndPointGet(); $result = $endpoint->processEndPointGet();
} }
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment