From 5ca61cd116d71ca757764355c7adcc9567ab57ba Mon Sep 17 00:00:00 2001 From: Eternal_Jovi Date: Fri, 29 Apr 2016 14:48:00 +0800 Subject: [PATCH] fix progress object param --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 217d260..87df6e6 100644 --- a/README.md +++ b/README.md @@ -640,7 +640,7 @@ codePush.sync({ updateDialog: true }, break; } }, - (totalBytes, receivedBytes) => { + ({ receivedBytes, totalBytes, }) => { /* Update download modal progress */ } );