🐛 rename okStatus to statusCodes

This commit is contained in:
ajnart
2023-01-19 22:28:11 +09:00
committed by Manuel
parent 1e046e8193
commit 41da97feaf
6 changed files with 6 additions and 6 deletions

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),