Skip to content

Commit

Permalink
feat: fix get strands since
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Feb 20, 2024
1 parent 88b9395 commit 45aa3a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"document-drive": "^1.0.0-alpha.6",
"document-drive": "^1.0.0-alpha.7",
"document-model": "^1.0.30",
"document-model-libs": "^1.1.51",
"dotenv": "^16.0.3",
Expand Down
8 changes: 4 additions & 4 deletions api/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/src/modules/document/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ export function getDocumentDriveCRUD(prisma: Prisma.TransactionClient) {
if (!transmitter) {
throw new Error(`Transmitter with id ${listenerId} not found`);
}

const result = await transmitter.getStrands(listenerId, since);
const result = await transmitter.getStrands(since || undefined);
return result;
},

Expand Down

0 comments on commit 45aa3a6

Please sign in to comment.