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)
|
||||
|
||||
#ifdef DEVELOPMENT
|
||||
#ifndef DEVELOPMENT
|
||||
-- avsLicenceDifferences2LicenceIds is not used in DEVELOPMENT build
|
||||
#else
|
||||
avsLicenceDifferences2LicenceIds :: AvsLicenceDifferences -> Set AvsPersonId
|
||||
avsLicenceDifferences2LicenceIds AvsLicenceDifferences{..} = Set.unions
|
||||
[ avsLicenceDiffRevokeAll
|
||||
|
||||
@ -14,9 +14,10 @@ import qualified Data.Text as Text
|
||||
|
||||
import Servant
|
||||
import Servant.Client
|
||||
#ifdef DEVELOPMENT
|
||||
#else
|
||||
|
||||
#ifndef DEVELOPMENT
|
||||
import Servant.Client.Core (requestPath)
|
||||
import UnliftIO.Concurrent (threadDelay)
|
||||
#endif
|
||||
|
||||
import Model.Types.Avs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user