Skip to content

Commit

Permalink
fix multisig query
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed Sep 23, 2023
1 parent c62ddc2 commit f42f86a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/repositories/multisigSessionRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export const findNonExpiredMultisigSessions = async (
multisigAddress: string,
network: number,
) => {
const session = await MultisigSession.createQueryBuilder('multisigSession')
.where('multisigSession.network = :network', { network })
.andWhere('multisigSession."multisigAddress" = :multisigAddress', {
const session = await MultisigSession.createQueryBuilder()
.where('network = :network', { network })
.andWhere('"multisigAddress" = :multisigAddress', {
multisigAddress,
})
.getOne();
Expand Down

0 comments on commit f42f86a

Please sign in to comment.