1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-29 15:03:41 +02:00

Minor cleanup

This commit is contained in:
Daniel Berteaud 2014-10-15 20:16:41 +02:00
parent 821516a090
commit 6ec5ce7e60

View File

@ -371,7 +371,10 @@ helper get_participant_list => sub {
return {msg => $@}; return {msg => $@};
} }
$sth->execute($room->{id}); $sth->execute($room->{id});
return {ok => 1, data => $sth->fetchall_hashref('room_id')->{$room->{id}}}; return {
ok => 1,
data => $sth->fetchall_hashref('room_id')->{$room->{id}}
};
}; };
# Set the role of a peer # Set the role of a peer