From d482fe50f39bd7d100f4c36111b3a661d2f8cfdb Mon Sep 17 00:00:00 2001 From: Damian Cudzik Date: Fri, 15 Sep 2023 17:03:36 +0200 Subject: [PATCH] Fix deprecated warning --- packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift b/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift index 0afc35d6e..57e2b3b60 100644 --- a/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift +++ b/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift @@ -55,7 +55,7 @@ import Foundation provider.setupRoutes(server: server) - try server.start(onPort: UInt16(port)) + try server.start(port: port) Logger.shared.i("Server started on http://0.0.0.0:\(port)") #endif