Skip to content

Commit

Permalink
making arrow function to normal fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Grubba27 committed Feb 8, 2023
1 parent 2b3769a commit 8298819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/accounts-base/accounts_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ export class AccountsServer extends AccountsCommon {
const { users, _autopublishFields, _defaultPublishFields } = this;

// Publish all login service configuration fields other than secret.
this._server.publish("meteor.loginServiceConfiguration", () => {
this._server.publish("meteor.loginServiceConfiguration", function() {
if (Package['service-configuration']) {
const { ServiceConfiguration } = Package['service-configuration'];
return ServiceConfiguration.configurations.find({}, {fields: {secret: 0}});
Expand Down

0 comments on commit 8298819

Please sign in to comment.