diff --git a/src/PostgREST/ApiRequest/Preferences.hs b/src/PostgREST/ApiRequest/Preferences.hs index b869c4a9f..6b0b924bc 100644 --- a/src/PostgREST/ApiRequest/Preferences.hs +++ b/src/PostgREST/ApiRequest/Preferences.hs @@ -2,7 +2,7 @@ -- Module: PostgREST.ApiRequest.Preferences -- Description: Track client preferences to be employed when processing requests -- --- Track client prefences set in HTTP 'Prefer' headers according to RFC7240[1]. +-- Track client preferences set in HTTP 'Prefer' headers according to RFC7240[1]. -- -- [1] https://datatracker.ietf.org/doc/html/rfc7240 -- diff --git a/src/PostgREST/ApiRequest/Types.hs b/src/PostgREST/ApiRequest/Types.hs index e4fb6dc32..c595cb948 100644 --- a/src/PostgREST/ApiRequest/Types.hs +++ b/src/PostgREST/ApiRequest/Types.hs @@ -175,7 +175,7 @@ data JsonOperation deriving (Eq, Show, Ord) -- | Represents the key(`->'key'`) or index(`->'1`::int`), the index is Text --- because we reuse our escaping functons and let pg do the casting with +-- because we reuse our escaping functions and let pg do the casting with -- '1'::int data JsonOperand = JKey { jVal :: Text }