From 88ca7e5d2e46f80dd462cfccf14ff4a6b2e88b6d Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Thu, 4 Jun 2020 22:57:24 -0400 Subject: [PATCH] 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. --- lib/Euchre/Host.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Euchre/Host.pm b/lib/Euchre/Host.pm index d6b5f46..f93b48e 100644 --- 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; -- libgit2 1.1.1