mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-17 16:30:15 +02:00
Update universe types call to v2 format
This commit is contained in:
parent
2106e492e3
commit
d186088a8f
@ -258,7 +258,7 @@ def srp_request_view(request, fleet_srp):
|
||||
return redirect("auth_srp_management_view")
|
||||
try:
|
||||
c = esi_client_factory()
|
||||
srp_ship_name = c.Universe.get_universe_types_type_id(type_id=srp_kill_data).result()['type_name']
|
||||
srp_ship_name = c.Universe.get_universe_types_type_id(type_id=srp_kill_data).result()['name']
|
||||
except HTTPError as e:
|
||||
messages.error(request, str(e))
|
||||
return redirect('auth_dashboard')
|
||||
|
Loading…
x
Reference in New Issue
Block a user