mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 02:35:42 +00:00
fix: api dropping custom name
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user