Skip to content

Commit

Permalink
fix repo
Browse files Browse the repository at this point in the history
  • Loading branch information
theotime2005 committed Jan 27, 2025
1 parent 1123582 commit 1fb5e1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function _toDomain(invitationDTO) {
*/
const findPendingByCertificationCenterId = async function ({ certificationCenterId }) {
const pendingCertificationCenterInvitations = await knex(CERTIFICATION_CENTER_INVITATIONS)
.select('id', 'email', 'certificationCenterId', 'updatedAt', 'role')
.select('id', 'email', 'certificationCenterId', 'updatedAt', 'role', 'locale')
.where({ certificationCenterId, status: CertificationCenterInvitation.StatusType.PENDING })
.orderBy('updatedAt', 'desc');
return pendingCertificationCenterInvitations.map(_toDomain);
Expand Down

0 comments on commit 1fb5e1e

Please sign in to comment.