diff options
Diffstat (limited to 'fig-web')
| -rw-r--r-- | fig-web/src/Fig/Web/Module/TCG.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fig-web/src/Fig/Web/Module/TCG.hs b/fig-web/src/Fig/Web/Module/TCG.hs index 6e563ad..274fd4b 100644 --- a/fig-web/src/Fig/Web/Module/TCG.hs +++ b/fig-web/src/Fig/Web/Module/TCG.hs @@ -31,9 +31,7 @@ public a = do status status404 respondText "card does not exist" Just image -> do - log $ "card dir: " <> pack cardDir liftIO $ Dir.createDirectoryIfMissing True cardDir - log $ "created directory" liftIO $ BS.writeFile cardPath image log $ "Deleting card from Redis: " <> uuid DB.hdel a.db "tcg:cards" $ encodeUtf8 uuid |
