summaryrefslogtreecommitdiff
path: root/fig-web/src/Fig/Web/Module/Misc.hs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-02-24 14:25:57 -0500
committerLLLL Colonq <llll@colonq>2026-02-24 14:25:57 -0500
commit3eae057004597db4d41cdcc3770d5c7e22c50d15 (patch)
tree4997306631687de729ebae5cbf71765dc3c1df67 /fig-web/src/Fig/Web/Module/Misc.hs
parent91e9ebf92981341668a0a289cf9710546420e993 (diff)
Update
Diffstat (limited to 'fig-web/src/Fig/Web/Module/Misc.hs')
-rw-r--r--fig-web/src/Fig/Web/Module/Misc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/fig-web/src/Fig/Web/Module/Misc.hs b/fig-web/src/Fig/Web/Module/Misc.hs
index 1bbb2ba..c7ca250 100644
--- a/fig-web/src/Fig/Web/Module/Misc.hs
+++ b/fig-web/src/Fig/Web/Module/Misc.hs
@@ -16,7 +16,7 @@ public :: PublicModule
public a = do
onGet "/api/motd" do
log "getting motd"
- DB.get a.db "motd" >>= \case
+ DB.run a.db (DB.get "motd") >>= \case
Nothing -> respondText ""
Just val -> respondText $ decodeUtf8 val
onGet "/api/catchphrase" do