Доработка апи

pull/6/head
Rustem 2025-03-25 10:55:57 +05:00
parent 7ee9e5bef1
commit be22f1354a
1 changed files with 2 additions and 0 deletions

View File

@ -228,6 +228,8 @@ class Sync1cApiController extends Controller
Log::error('Запрос календаря пришел');
Storage::disk('local')->put('last_car_calendar.json', json_encode($request->json()->all(), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE));
DB::beginTransaction();
$segments = Segment::listActive();