From 5aa35d012c9de0a4a565be0c756fd3cbd9027eca Mon Sep 17 00:00:00 2001 From: Marek Stransky Date: Tue, 9 Jan 2024 11:57:04 +0100 Subject: [PATCH] Fix claim docs --- docs/Using-Operations-Service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Using-Operations-Service.md b/docs/Using-Operations-Service.md index fa89f15..9740dc2 100644 --- a/docs/Using-Operations-Service.md +++ b/docs/Using-Operations-Service.md @@ -249,7 +249,7 @@ import PowerAuth2 // Assigns the 'non-personalized' operation to the user func claim(operationId: String) { - operationService.claim(operation: operation, reason: reason) { result in + operationService.claim(operationId: operationId) { result in switch result { case .success(let operation): // process operation