mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Update Meshtastic/Persistence/UpdateCoreData.swift
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
070492fe24
commit
efb69e646a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue