Revert "🐛 rename okStatus to statusCodes"

This reverts commit 41da97feaf.
This commit is contained in:
Thomas Camlong
2023-01-22 23:20:48 +09:00
committed by GitHub
parent 8209b70674
commit 9169fd1293
6 changed files with 6 additions and 6 deletions

View File

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