Correct types
This commit is contained in:
parent
1e2784f7db
commit
f2c04ec8d5
3 changed files with 4 additions and 1 deletions
|
@ -58,6 +58,7 @@ library:
|
||||||
- blake3
|
- blake3
|
||||||
- memory
|
- memory
|
||||||
- ghc-prim
|
- ghc-prim
|
||||||
|
- network
|
||||||
|
|
||||||
executables:
|
executables:
|
||||||
zgo-backend-exe:
|
zgo-backend-exe:
|
||||||
|
|
|
@ -6,6 +6,7 @@ import qualified Data.ByteString as BS
|
||||||
import Data.Configurator
|
import Data.Configurator
|
||||||
import Data.SecureMem
|
import Data.SecureMem
|
||||||
import qualified Data.Text as T
|
import qualified Data.Text as T
|
||||||
|
import Network.Socket (PortNumber)
|
||||||
|
|
||||||
data Config =
|
data Config =
|
||||||
Config
|
Config
|
||||||
|
@ -22,7 +23,7 @@ data Config =
|
||||||
, c_certificate :: String
|
, c_certificate :: String
|
||||||
, c_key :: String
|
, c_key :: String
|
||||||
, c_smtpHost :: String
|
, c_smtpHost :: String
|
||||||
, c_smtpPort :: Int
|
, c_smtpPort :: Integer
|
||||||
, c_smtpUser :: String
|
, c_smtpUser :: String
|
||||||
, c_smtpPwd :: String
|
, c_smtpPwd :: String
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,7 @@ library
|
||||||
, jwt
|
, jwt
|
||||||
, memory
|
, memory
|
||||||
, mongoDB
|
, mongoDB
|
||||||
|
, network
|
||||||
, quickcheck-instances
|
, quickcheck-instances
|
||||||
, random
|
, random
|
||||||
, regex-base
|
, regex-base
|
||||||
|
|
Loading…
Reference in a new issue