Fixed a typo in service.js ('paylaod' for 'payload')
authorjonathandicarlo@jonathan-dicarlos-macbook-pro.local
Wed, 25 Feb 2009 15:06:28 -0800
changeset 45297 a591c50facf0199862e16a25f3413376296d8e44
parent 45296 3c546bb95cad419ee7b86ac081f1d1f8a85918d7
child 45298 ddcbab9f793eb023b9f88cd30c2602ad2d3d8436
push idunknown
push userunknown
push dateunknown
Fixed a typo in service.js ('paylaod' for 'payload')
services/sync/modules/service.js
--- a/services/sync/modules/service.js
+++ b/services/sync/modules/service.js
@@ -589,17 +589,17 @@ WeaveSvc.prototype = {
       reset = true;
       yield this._freshStart.async(this, self.cb);
 
       if (status == 404)
         this._log.info("Metadata record not found, server wiped to ensure " +
                        "consistency.");
       else // 200
         this._log.info("Server data wiped to ensure consistency after client " +
-                       "upgrade (" + meta.paylaod.storageVersion + " -> " +
+                       "upgrade (" + meta.payload.storageVersion + " -> " +
                        WEAVE_VERSION + ")");
 
     } else if (Svc.Version.compare(meta.payload.storageVersion,
                                    WEAVE_VERSION) > 0) {
       this._log.warn("Server data is of a newer Weave version, this client " +
                      "needs to be upgraded.  Aborting sync.");
       self.done(false);
       return;