Update Meshtastic/Persistence/UpdateCoreData.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
jake-b 2026-01-30 15:05:23 -05:00 committed by GitHub
parent 070492fe24
commit efb69e646a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1248,7 +1248,7 @@ extension MeshPackets {
func upsertDetectionSensorModuleConfigPacket(config: ModuleConfig.DetectionSensorConfig, nodeNum: Int64, sessionPasskey: Data? = Data()) async {
let context = self.backgroundContext
context.persistentStoreCoordinator?.performAndWait {
await context.perform {
self.upsertDetectionSensorModuleConfigPacket(config: config, nodeNum: nodeNum, sessionPasskey: sessionPasskey, context: context)
}
}