Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Dec 13, 2024
1 parent 5862bce commit 19592f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ dependencies:
- servant-conduit
- serialise
- stm
- stm-chans
- text
- these
- time
Expand Down
2 changes: 2 additions & 0 deletions share-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ library
, share-auth
, share-utils
, stm
, stm-chans
, text
, these
, time
Expand Down Expand Up @@ -415,6 +416,7 @@ executable share-api
, share-auth
, share-utils
, stm
, stm-chans
, text
, these
, time
Expand Down
3 changes: 1 addition & 2 deletions src/Share/Utils/Servant/CBOR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import Servant
-- | Content-type for encoding and decoding objects as their CBOR representations
data CBOR

-- | Mime-type for CBOR and additional ones using the word "hackage" and the
-- name of the package "serialise".
-- | Mime-type for CBOR
instance Accept CBOR where
contentTypes Proxy =
NonEmpty.singleton ("application" MediaType.// "cbor")
Expand Down

0 comments on commit 19592f7

Please sign in to comment.