From 98e429c1ca57bbcb6d5a6afe674a449f79fd6092 Mon Sep 17 00:00:00 2001 From: Erik Tylek Kettenburg Date: Thu, 20 Oct 2016 17:07:28 -0700 Subject: [PATCH] Update SparkCore.js See https://community.particle.io/t/error-when-publishing-on-local-server/19601/7 --- js/clients/SparkCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/clients/SparkCore.js b/js/clients/SparkCore.js index 55f36367..5f4d1f07 100644 --- a/js/clients/SparkCore.js +++ b/js/clients/SparkCore.js @@ -1052,7 +1052,7 @@ SparkCore.prototype = extend(ISparkCore.prototype, EventEmitter.prototype, { if (!global.publisher.publish(isPublic, obj.name, obj.userid, obj.data, obj.ttl, obj.published_at, this.getHexCoreID())) { //this core is over its limit, and that message was not sent. - this.sendReply("EventSlowdown", msg.getId()); + this.sendReply("EventAck", msg.getId()); } else { this.sendReply("EventAck", msg.getId());