Skip to content

Commit 092278a

Browse files
committed
use Metoer.server
1 parent ce23b44 commit 092278a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/server/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class Context {
4040
}
4141

4242
subscribe (subName /*, params */) {
43-
const publishHandler = Meteor.default_server.publish_handlers[subName];
43+
const publishHandler = Meteor.server.publish_handlers[subName];
4444
if (publishHandler) {
4545
const params = Array.prototype.slice.call(arguments, 1);
4646
// non-universal subs have subscription id

lib/server/fast_render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const FastRender = {
177177
// adding support for null publications
178178
FastRender.onAllRoutes(function () {
179179
const context = this;
180-
const nullHandlers = Meteor.default_server.universal_publish_handlers;
180+
const nullHandlers = Meteor.server.universal_publish_handlers;
181181

182182
if (nullHandlers) {
183183
nullHandlers.forEach(function (publishHandler) {

0 commit comments

Comments
 (0)