Skip to content

Commit

Permalink
Merge pull request #12480 from Torgen/service-configuration-publish
Browse files Browse the repository at this point in the history
Ensure the meteor.loginServiceConfiguration subscription always becomes ready
  • Loading branch information
Grubba27 committed Jan 30, 2023
2 parents 89d28e7 + 144193f commit 36b24d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/accounts-base/accounts_server.js
Expand Up @@ -766,6 +766,7 @@ export class AccountsServer extends AccountsCommon {
const { ServiceConfiguration } = Package['service-configuration'];
return ServiceConfiguration.configurations.find({}, {fields: {secret: 0}});
}
this.ready();
}, {is_auto: true}); // not technically autopublish, but stops the warning.

// Use Meteor.startup to give other packages a chance to call
Expand Down

0 comments on commit 36b24d7

Please sign in to comment.