diff options
| author | LLLL Colonq <llll@colonq> | 2025-12-17 05:22:39 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-12-17 05:22:39 -0500 |
| commit | 6a6c1174f1fd3d0b6eaf19f9e29c90e09984cb36 (patch) | |
| tree | 3f02377639cb82b93e27ce7291b76e9299efec51 /fig-web/src/Fig/Web/Module | |
| parent | 20ff6d184a44a319d430510fb348e73082123147 (diff) | |
Log
Diffstat (limited to 'fig-web/src/Fig/Web/Module')
| -rw-r--r-- | fig-web/src/Fig/Web/Module/TCG.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fig-web/src/Fig/Web/Module/TCG.hs b/fig-web/src/Fig/Web/Module/TCG.hs index da3504b..6e563ad 100644 --- a/fig-web/src/Fig/Web/Module/TCG.hs +++ b/fig-web/src/Fig/Web/Module/TCG.hs @@ -31,8 +31,9 @@ public a = do status status404 respondText "card does not exist" Just image -> do + log $ "card dir: " <> pack cardDir liftIO $ Dir.createDirectoryIfMissing True cardDir - log $ "Deleting card from Redis: " <> uuid + log $ "created directory" liftIO $ BS.writeFile cardPath image log $ "Deleting card from Redis: " <> uuid DB.hdel a.db "tcg:cards" $ encodeUtf8 uuid |
