diff --git a/Kit/plugins/Store.swift b/Kit/plugins/Store.swift index eb261e88..bc6b6879 100644 --- a/Kit/plugins/Store.swift +++ b/Kit/plugins/Store.swift @@ -108,7 +108,7 @@ public class Store { public func export(to url: URL) { guard let id = Bundle.main.bundleIdentifier, var dictionary = self.defaults.persistentDomain(forName: id) else { return } - dictionary.removeValue(forKey: "telemetry_id") + dictionary.removeValue(forKey: "remote_id") dictionary.removeValue(forKey: "access_token") dictionary.removeValue(forKey: "refresh_token") NSDictionary(dictionary: dictionary).write(to: url, atomically: true) @@ -118,7 +118,7 @@ public class Store { guard let id = Bundle.main.bundleIdentifier, let dict = NSDictionary(contentsOf: url) as? [String: Any] else { return } - let keysToPreserve = ["telemetry_id", "access_token", "refresh_token"] + let keysToPreserve = ["remote_id", "access_token", "refresh_token"] var importedDict = dict for key in keysToPreserve {