Skip to content

Commit

Permalink
fix invalid query in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaza98 committed Jun 27, 2022
1 parent 50f6901 commit c793cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/meteor/server/startup/migrations/v270.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ addMigration({
// mark all voip rooms as inbound which doesn't have any direction property set or has an invalid value
await VoipRoom.updateMany(
{
t: 'v',
$or: [{ direction: { $exists: false } }, { direction: { $nin: ['inbound', 'outbound'] } }],
},
{
Expand Down

0 comments on commit c793cbe

Please sign in to comment.