Skip to content

Commit

Permalink
fix typo and log
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Dec 11, 2023
1 parent 7d59d28 commit 7953122
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-wombats-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect-app/infra": patch
---

fix cosmos typo and log
1 change: 1 addition & 0 deletions packages/infra/_src/services/Store/Cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ export function makeCosmosStore({ prefix }: StorageConfig) {
skip,
limit
))
.tap((q) => logQuery(q))
.flatMap((q) =>
Effect.promise(() =>
f.select
Expand Down
2 changes: 1 addition & 1 deletion packages/infra/_src/services/Store/Cosmos/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export function buildWhereCosmosQuery3(
query: `
SELECT ${
select
? `${select.map((_) => `f.${_}`).join(", ")}\n}`
? `${select.map((_) => `f.${_}`).join(", ")}`
: "f"
}
FROM ${name} f
Expand Down

0 comments on commit 7953122

Please sign in to comment.