Skip to content

Commit

Permalink
fix: dont add non missed users (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCMeldrum authored Sep 11, 2024
1 parent b9ef242 commit 9083ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/datasources/postgres/UserDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export default class PostgresUserDataSource implements UserDataSource {
logger.logInfo('Creating dummy users', { usersIds: missedUsers });

const newUsers = await database
.insert(userIds.map(this.createDummyUserRecord))
.insert(missedUsers.map(this.createDummyUserRecord))
.returning(['*'])
.into('users');

Expand Down

0 comments on commit 9083ba6

Please sign in to comment.