Skip to content

Commit 672eb7f

Browse files
fix(api): changing table because of a missing column
1 parent cc144bb commit 672eb7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/src/prescription/learner-management/infrastructure/repositories/campaign-participation-repository.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { DomainTransaction } from '../../../../shared/domain/DomainTransaction.j
22

33
const learnersBelongingToOrganization = function ({ organizationId }) {
44
const knexConnection = DomainTransaction.getConnection();
5-
return knexConnection('view-active-organization-learners')
5+
return knexConnection('organization-learners')
66
.where('organizationId', organizationId)
7+
.whereNull('deletedAt')
78
.select('id')
89
.pluck('id');
910
};

0 commit comments

Comments
 (0)