Skip to content

Commit

Permalink
fup
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Dec 4, 2023
1 parent c83bb8c commit 2f4f697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/infra/_src/services/simpledb/mongodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function createContext<TKey extends string, EA, A extends DBRecord<TKey>>
Effect
.tryPromise(() =>
db.collection(type).replaceOne(
{ _id: record.id, version: currentVersion },
{ _id: record.id as any, version: currentVersion },
{
version,
timestamp: new Date(),
Expand Down

0 comments on commit 2f4f697

Please sign in to comment.