forked from Alex/Pterodactyl-Panel
Fix allocations requiring an alias when generated via API.
This commit is contained in:
parent
58796e7441
commit
2198269a65
@ -14,6 +14,7 @@ value when showing an error state.
|
||||
error encountered during creation or update.
|
||||
* Two-factor tokens generated when a company name has a space in it will now properly be parsed on iOS authenticator devices.
|
||||
* Fixed 500 error when trying to request subuser's from a server in the application API.
|
||||
* Creating a node allocation via the API no longer requires an alias field be passed through in the request.
|
||||
|
||||
### Added
|
||||
* Server listing view now displays the total used disk space for each server.
|
||||
|
@ -40,7 +40,7 @@ class StoreAllocationRequest extends ApplicationApiRequest
|
||||
return [
|
||||
'allocation_ip' => $data['ip'],
|
||||
'allocation_ports' => $data['ports'],
|
||||
'allocation_alias' => $data['alias'],
|
||||
'allocation_alias' => $data['alias'] ?? null,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user