Skip to content

Commit

Permalink
Fix a couple of typos (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
alco authored Nov 29, 2024
1 parent d0b15e3 commit 1556f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sync-service/lib/electric/log_items.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}
Expand Down

0 comments on commit 1556f45

Please sign in to comment.