aboutsummaryrefslogtreecommitdiff
path: root/src/background/repositories
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-10-07 12:02:02 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-10-07 12:31:13 +0000
commit532eeb5a1d9712676a9b3730bb7b27134c57831b (patch)
tree1cc0360426f383f0cc6a9396d6f591917ed76faf /src/background/repositories
parent16352502cf9396a9d573c2953940c31f4980c282 (diff)
Rename valueOf to fromJSON
Diffstat (limited to 'src/background/repositories')
-rw-r--r--src/background/repositories/PersistentSettingRepository.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/repositories/PersistentSettingRepository.ts b/src/background/repositories/PersistentSettingRepository.ts
index 927bce9..e3b78b3 100644
--- a/src/background/repositories/PersistentSettingRepository.ts
+++ b/src/background/repositories/PersistentSettingRepository.ts
@@ -8,7 +8,7 @@ export default class SettingRepository {
if (!settings) {
return null;
}
- return SettingData.valueOf(settings as any);
+ return SettingData.fromJSON(settings as any);
}
}