commit 88ca7e5d2e46f80dd462cfccf14ff4a6b2e88b6d (patch)
parent a6afb5b6f2b69ad6ae6391757c762db6f851019b
Author: Alex Karle <alex@karle.co>
Date: Thu, 4 Jun 2020 22:57:24 -0400
Euchre::Host: Add table settings to GET /tables API
Per ~ckarle's request, this is necessary so that we can show it in the
TableList view.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/Euchre/Host.pm b/lib/Euchre/Host.pm
@@ -188,6 +188,7 @@ sub list_tables {
has_password => $d->password ? 1 : 0,
players => $d->player_names,
spectators => [map { $_->name } @{$d->spectators}],
+ settings => $d->settings,
};
}
return \@tables;