From 52300d036acb7f33b4c2421422dc0ba86b4b49df Mon Sep 17 00:00:00 2001 From: Natalie Rose Date: Tue, 12 Aug 2025 15:54:45 +1000 Subject: [PATCH] Revert `get_body_status` change for compatibility --- lib/Lacuna/RPC/Body.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Lacuna/RPC/Body.pm b/lib/Lacuna/RPC/Body.pm index 627148b5..831099a4 100644 --- a/lib/Lacuna/RPC/Body.pm +++ b/lib/Lacuna/RPC/Body.pm @@ -24,11 +24,11 @@ sub get_status { } sub get_body_status { - my ($self, $session_id, $body_id) = @_; + my ($self, $args) = @_; - my $session = $self->get_session({session_id => $session_id}); + my $session = $self->get_session({session_id => $args->{session_id}}); my $empire = $session->current_empire; - my $body = Lacuna->db->resultset('Map::Body')->find($body_id); + my $body = Lacuna->db->resultset('Map::Body')->find($args->{body_id}); confess [1000, 'Cannot find that body.'] unless $body; return { -- 2.51.2