fix(build): add import needed for production only
This commit is contained in:
parent
dcb947b1fb
commit
724e4a0bec
@ -673,9 +673,8 @@ data AvsLicenceDifferences = AvsLicenceDifferences
|
|||||||
}
|
}
|
||||||
deriving (Show)
|
deriving (Show)
|
||||||
|
|
||||||
#ifdef DEVELOPMENT
|
#ifndef DEVELOPMENT
|
||||||
-- avsLicenceDifferences2LicenceIds is not used in DEVELOPMENT build
|
-- avsLicenceDifferences2LicenceIds is not used in DEVELOPMENT build
|
||||||
#else
|
|
||||||
avsLicenceDifferences2LicenceIds :: AvsLicenceDifferences -> Set AvsPersonId
|
avsLicenceDifferences2LicenceIds :: AvsLicenceDifferences -> Set AvsPersonId
|
||||||
avsLicenceDifferences2LicenceIds AvsLicenceDifferences{..} = Set.unions
|
avsLicenceDifferences2LicenceIds AvsLicenceDifferences{..} = Set.unions
|
||||||
[ avsLicenceDiffRevokeAll
|
[ avsLicenceDiffRevokeAll
|
||||||
|
|||||||
@ -14,9 +14,10 @@ import qualified Data.Text as Text
|
|||||||
|
|
||||||
import Servant
|
import Servant
|
||||||
import Servant.Client
|
import Servant.Client
|
||||||
#ifdef DEVELOPMENT
|
|
||||||
#else
|
#ifndef DEVELOPMENT
|
||||||
import Servant.Client.Core (requestPath)
|
import Servant.Client.Core (requestPath)
|
||||||
|
import UnliftIO.Concurrent (threadDelay)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
import Model.Types.Avs
|
import Model.Types.Avs
|
||||||
|
|||||||
Reference in New Issue
Block a user