Skip to content

Commit

Permalink
Update src/OddJobs/Job.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Jappie Klooster <[email protected]>
  • Loading branch information
tchoutri and jappeace authored Oct 2, 2023
1 parent f8f92af commit ee75a7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OddJobs/Job.hs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ import Prelude hiding (log)
import GHC.Exts (toList)
import Database.PostgreSQL.Simple.Types as PGS (Identifier(..))
import Database.PostgreSQL.Simple.ToField as PGS (toField)
#if MIN_VERSION_aeson(2,2,0)
import Data.Aeson.Types
#else
import Data.Aeson.Internal (iparse, IResult(..), formatError)
#endif

-- | The documentation of odd-jobs currently promotes 'startJobRunner', which
-- expects a fairly detailed 'Config' record, as a top-level function for
Expand Down

0 comments on commit ee75a7a

Please sign in to comment.