This commit is contained in:
Luciano Laratelli 2025-04-11 15:19:17 -04:00
parent 19596734b0
commit 7589b3d493

View file

@ -1,6 +1,7 @@
(ns com.score-the-pigs.app
(:require
[clojure.pprint :as pp]
[clojure.tools.logging :as log]
[clojure.string :as str]
[com.biffweb :as biff]
[com.score-the-pigs.middleware :refer [wrap-clean-up-param-vals]]
@ -385,9 +386,10 @@ end"}
[:= :game_code game-code]
[:= :play_order current-player]]}))))
update-display-table (delay (jetty/send! (get @chat-clients game-code)
update-display-table (delay (log/info "sent webhook to" (get @chat-clients game-code) ", a webhook client for game" game-code ", with result"
(jetty/send! (get @chat-clients game-code)
(rum/render-static-markup
(player-summary game-code ds))))]
(player-summary game-code ds)))))]
(cond
(= score ::pig-out)