Commit a14e83bf authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[GraphQL] fix insecure API, prelude hash fix

parent f642bed1
...@@ -148,5 +148,5 @@ api ...@@ -148,5 +148,5 @@ api
:: (Typeable env, HasConnectionPool env, HasConfig env, HasMail env, HasJobEnv' env) :: (Typeable env, HasConnectionPool env, HasConfig env, HasMail env, HasJobEnv' env)
=> ServerT API (GargM env GargError) => ServerT API (GargM env GargError)
api (SAS.Authenticated _auser) = httpPubApp [] app :<|> pure httpPlayground api (SAS.Authenticated _auser) = httpPubApp [] app :<|> pure httpPlayground
--api _ = panic "401 in graphql" --SAS.throwAll (_ServerError # err401) api _ = panic "401 in graphql" --SAS.throwAll (_ServerError # err401)
api _ = httpPubApp [] app :<|> pure httpPlayground --api _ = httpPubApp [] app :<|> pure httpPlayground
...@@ -28,7 +28,7 @@ allow-newer: true ...@@ -28,7 +28,7 @@ allow-newer: true
extra-deps: extra-deps:
- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git - git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
commit: 220f32810f988a5a121f110a7d557fc7d0721712 commit: 6bfdb29e9a576472c7fd7ebe648ad101e5b3927f
# Data Mining Libs # Data Mining Libs
- git: https://github.com/delanoe/data-time-segment.git - git: https://github.com/delanoe/data-time-segment.git
commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment