Skip to content

Commit

Permalink
Fix callback
Browse files Browse the repository at this point in the history
  • Loading branch information
zfir committed Jun 26, 2024
1 parent 71e295f commit 6ba07b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVRoomPlan.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class CDVRoomPlan: CDVPlugin, RoomCaptureSessionDelegate, RoomCaptureViewDelegat
pluginResult?.keepCallback = true
self.commandDelegate.send(pluginResult, callbackId: self.command.callbackId)
} else {
let result = ["message": "No data captured"]
let result = ["message": "No results captured"]
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAs: result)
pluginResult?.keepCallback = true
self.commandDelegate.send(pluginResult, callbackId: self.command.callbackId)
Expand Down

0 comments on commit 6ba07b4

Please sign in to comment.