REF remove dead code

This commit is contained in:
Nathan Dwarshuis 2023-01-29 11:36:05 -05:00
parent dc484c6557
commit 354310bf08
1 changed files with 0 additions and 2 deletions

View File

@ -256,8 +256,6 @@ timeAmountToTx
insertStatements :: MonadUnliftIO m => Config -> MappingT m [InsertError] insertStatements :: MonadUnliftIO m => Config -> MappingT m [InsertError]
insertStatements conf = concat <$> mapM insertStatement (statements conf) insertStatements conf = concat <$> mapM insertStatement (statements conf)
-- unless (null es) $ throwIO $ InsertException es
insertStatement :: MonadUnliftIO m => Statement -> MappingT m [InsertError] insertStatement :: MonadUnliftIO m => Statement -> MappingT m [InsertError]
insertStatement (StmtManual m) = insertManual m insertStatement (StmtManual m) = insertManual m
insertStatement (StmtImport i) = insertImport i insertStatement (StmtImport i) = insertImport i