chore: fix tests issues

This commit is contained in:
Dmitry Popov
2025-11-24 23:57:52 +01:00
parent d39fa0363a
commit 01e291daf4
17 changed files with 1105 additions and 135 deletions

View File

@@ -712,6 +712,16 @@ defmodule WandererAppWeb.MapSystemAPIController do
end
end
# Catch-all clause for delete with missing or invalid parameters
def delete(conn, _params) do
conn
|> put_status(:bad_request)
|> APIUtils.respond_data(%{
deleted_count: 0,
error: "Missing required parameters: system_ids or id"
})
end
# -- Legacy endpoints --
operation(:list_systems,