Skip to content

Commit

Permalink
Fix tests (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kluskey authored May 3, 2024
1 parent 75178ee commit dab86f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirror-web-server/src/space/space.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,7 @@ export class SpaceService implements IRoleConsumer {
private _subscribeToSpaceSchemaChanges(): void {
// check if localhost. Mongo requires a replica set for this to work
if (
process.env.MONGODB_URL.includes('127.0.0.1') &&
process.env.MONGODB_URL?.includes('127.0.0.1') &&
process.env.NODE_ENV !== 'production'
) {
console.warn('Not running changestream since on localhost')
Expand Down

0 comments on commit dab86f4

Please sign in to comment.