From 0099a73be501534029ad2be0faa6d07f17068e90 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Mon, 22 Jan 2024 16:44:46 -0500 Subject: [PATCH] Update Fula.swift --- ios/Fula.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/Fula.swift b/ios/Fula.swift index 7790b28..f1561ce 100644 --- a/ios/Fula.swift +++ b/ios/Fula.swift @@ -1263,7 +1263,7 @@ class FulaModule: NSObject { guard let poolIdInt = Int(poolID) else { throw NSError(domain: "Invalid poolID", code: 0, userInfo: nil) } - let result = try fula!.joinPool(poolID: poolIdInt) + let result = try fula!.poolJoin(poolID: poolIdInt) let resultString = String(data: result, encoding: .utf8) resolve(resultString) } catch let error { @@ -1277,7 +1277,7 @@ class FulaModule: NSObject { guard let poolIdInt = Int(poolID) else { throw NSError(domain: "Invalid poolID", code: 0, userInfo: nil) } - let result = try fula!.cancelPoolJoin(poolID: poolIdInt) + let result = try fula!.poolCancelJoin(poolID: poolIdInt) let resultString = String(data: result, encoding: .utf8) resolve(resultString) } catch let error { @@ -1292,7 +1292,7 @@ class FulaModule: NSObject { guard let poolIdInt = Int(poolID) else { throw NSError(domain: "Invalid poolID", code: 0, userInfo: nil) } - let result = try fula!.leavePool(poolID: poolIdInt) + let result = try fula!.poolLeave(poolID: poolIdInt) let resultString = String(data: result, encoding: .utf8) resolve(resultString) } catch let error {