From 1556f454a464071c6b5dfcfd16e12541684ac029 Mon Sep 17 00:00:00 2001 From: Oleksii Sholik Date: Fri, 29 Nov 2024 15:25:30 +0200 Subject: [PATCH] Fix a couple of typos (#2070) --- packages/sync-service/lib/electric/log_items.ex | 2 +- website/docs/api/http.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sync-service/lib/electric/log_items.ex b/packages/sync-service/lib/electric/log_items.ex index f50e5e6150..9f47f3c8b7 100644 --- a/packages/sync-service/lib/electric/log_items.ex +++ b/packages/sync-service/lib/electric/log_items.ex @@ -120,7 +120,7 @@ defmodule Electric.LogItems do } end - # We're assuming the the postgres query casts every column to string + # We're assuming that the postgres query casts every column to string defp value(row, %Postgrex.Query{columns: columns}) do [columns, row] |> Enum.zip() diff --git a/website/docs/api/http.md b/website/docs/api/http.md index 48a2ac34b7..1c63824956 100644 --- a/website/docs/api/http.md +++ b/website/docs/api/http.md @@ -86,7 +86,7 @@ The client will then receive an `up-to-date` control message at the end of the r This indicates that the client has all the data that the server was aware of when fulfilling the request. The client can then switch into live mode to receive real-time updates. ::: info Must-refetch -Note that the other control message is `must-refetch` which indicates that the client must throwaway their local shape data and re-sync from scratch: +Note that the other control message is `must-refetch` which indicates that the client must throw away their local shape data and re-sync from scratch: ```json {"headers": {"control": "must-refetch"}}