From 6ba07b456e8a1efe7c180969be31431af760049a Mon Sep 17 00:00:00 2001 From: Zafir Sk Heerah Date: Wed, 26 Jun 2024 16:35:34 +0400 Subject: [PATCH] Fix callback --- src/ios/CDVRoomPlan.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVRoomPlan.swift b/src/ios/CDVRoomPlan.swift index cd251f1..db695f6 100644 --- a/src/ios/CDVRoomPlan.swift +++ b/src/ios/CDVRoomPlan.swift @@ -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)