From 9cd1408ec13bf59b41c5effbaeeb8e9dc5c7304d Mon Sep 17 00:00:00 2001 From: Pablo Cegarra Date: Mon, 28 Jan 2019 19:43:28 +0100 Subject: [PATCH] set client key instead master key --- lib/src/data/parse_core_data.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/data/parse_core_data.dart b/lib/src/data/parse_core_data.dart index 252100c38..7ace885a3 100644 --- a/lib/src/data/parse_core_data.dart +++ b/lib/src/data/parse_core_data.dart @@ -17,7 +17,7 @@ class ParseCoreData { if (debug != null) _instance.debug = debug; if (appName != null) _instance.appName = appName; if (liveQueryUrl != null) _instance.liveQueryURL = liveQueryUrl; - if (clientKey != null) _instance.clientKey = masterKey; + if (clientKey != null) _instance.clientKey = clientKey; if (masterKey != null) _instance.masterKey = masterKey; if (sessionId != null) _instance.sessionId = sessionId; }