🐛 rename okStatus to statusCodes

This commit is contained in:
ajnart authored and Manuel committed 2023-01-20 20:09:30 +01:00
1 parent 1e046e8193
commit 41da97feaf
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ const migrateService = (oldService: serviceItem, areaType: AreaType): AppType =>
},
network: {
enabledStatusChecker: oldService.ping ?? true,
okStatus: oldService.status?.map((str) => parseInt(str, 10)) ?? [200],
statusCodes: oldService.status?.map((str) => parseInt(str, 10)) ?? [200],
},
appearance: {
iconUrl: migrateIcon(oldService.icon),