From 765696dfd0c21dc33a9cb04e11941c101735a84c Mon Sep 17 00:00:00 2001 From: jinjiadu Date: Mon, 28 Oct 2024 18:29:54 +0800 Subject: [PATCH] chore: fix some typos in comments --- src/PostgREST/ApiRequest/Preferences.hs | 2 +- src/PostgREST/ApiRequest/Types.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }