crash fix
Some checks failed
Build and Release / Build IPA (push) Has been cancelled
Build and Release / Build macOS App (push) Has been cancelled

This commit is contained in:
cranci1 2025-09-19 17:53:50 +02:00
parent f7b64391f4
commit 0bd4d21cbf

View file

@ -80,7 +80,7 @@ extension JSContext {
guard let url = URL(string: urlString) else {
Logger.shared.log("Invalid URL", type: "Error")
DispatchQueue.main.async {
reject.call(withArguments: ["Invalid URL"])
resolve.call(withArguments: ["Invalid URL"])
}
return
}