From f00deb15566eb8d4836be49213eec7669173e7fd Mon Sep 17 00:00:00 2001 From: DanSylvest Date: Tue, 17 Mar 2026 10:28:15 +0300 Subject: [PATCH] chore: Changed old API for adding system from routes to new. --- .../ContextMenuSystemInfo/useContextMenuSystemInfoHandlers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/hooks/Mapper/components/contexts/ContextMenuSystemInfo/useContextMenuSystemInfoHandlers.ts b/assets/js/hooks/Mapper/components/contexts/ContextMenuSystemInfo/useContextMenuSystemInfoHandlers.ts index d5144948..bc27710a 100644 --- a/assets/js/hooks/Mapper/components/contexts/ContextMenuSystemInfo/useContextMenuSystemInfoHandlers.ts +++ b/assets/js/hooks/Mapper/components/contexts/ContextMenuSystemInfo/useContextMenuSystemInfoHandlers.ts @@ -49,9 +49,9 @@ export const useContextMenuSystemInfoHandlers = () => { } outCommand({ - type: OutCommand.addSystem, + type: OutCommand.manualAddSystem, data: { - system_id: solarSystemId, + solar_system_id: parseInt(solarSystemId), }, });