From 96f2ca7d0b4e2c50848bb1ba576f5efdf6e25533 Mon Sep 17 00:00:00 2001 From: Naomi Seyfer Date: Tue, 19 Feb 2013 10:18:29 -0800 Subject: [PATCH] Fixed inaccurate/old api for publish removed --- docs/client/api.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/client/api.js b/docs/client/api.js index 88a8fe7e8d..fc23118bdb 100644 --- a/docs/client/api.js +++ b/docs/client/api.js @@ -226,17 +226,17 @@ Template.api.subscription_changed = { Template.api.subscription_removed = { id: "publish_removed", - name: "this.removed(collection, ids)", + name: "this.removed(collection, id)", locus: "Server", - descr: ["Call inside the publish function. Informs the subscriber that some documents have been removed from the record set."], + descr: ["Call inside the publish function. Informs the subscriber that a document has been removed from the record set."], args: [ {name: "collection", type: "String", - descr: "The name of the collection that documents have been removed from." + descr: "The name of the collection that the document has been removed from." }, - {name: "ids", - type: "Array of Strings", - descr: "The IDs of the documents that have been removed." + {name: "id", + type: "String", + descr: "The ID of the document that has been removed." } ] };