fix: api dropping custom name

This commit is contained in:
Guarzo
2025-10-06 15:52:35 -04:00
parent fafc631e49
commit 095a4b2362
3 changed files with 39 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ defmodule WandererAppWeb.Helpers.APIUtils do
optional = [
"solar_system_name",
"custom_name",
"position_x",
"position_y",
"coordinates",
@@ -151,6 +152,7 @@ defmodule WandererAppWeb.Helpers.APIUtils do
def extract_update_params(params) when is_map(params) do
allowed = [
"solar_system_name",
"custom_name",
"position_x",
"position_y",
"coordinates",