Skip to content

Commit

Permalink
Fix/get flows (#431)
Browse files Browse the repository at this point in the history
* fix(be): get flows 500

* chore: update pnpm to 9.5.0
  • Loading branch information
VojtechVidra committed Jul 8, 2024
1 parent e78fe95 commit 8afb7c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/backend/src/sdk/sdk.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export class SdkService {
});

const seenEvents = await (() => {
if (!userHash) return;
if (!userHash || !dbFlows.length) return;

return this.databaseService.db
.selectDistinctOn([events.flow_id], {
flow_id: events.flow_id,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"tsconfig": "workspace:*",
"turbo": "^2.0.4"
},
"packageManager": "pnpm@9.4.0"
"packageManager": "pnpm@9.5.0"
}

0 comments on commit 8afb7c2

Please sign in to comment.