Browse Source

[Backend] Problème synchronisation Tiller #238

refactoring
Guillaume 2 years ago
parent
commit
16c2d02e56
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      backend/controllers/DistributionController.php

+ 2
- 1
backend/controllers/DistributionController.php View File

@@ -1387,7 +1387,8 @@ class DistributionController extends BackendController
]
]);

$order->tiller_external_id = $returnTiller->id;
$returnTillerObject = json_decode($returnTiller);
$order->tiller_external_id = $returnTillerObject->id;
$order->save();

$return[] = $returnTiller;

Loading…
Cancel
Save