Skip to content

Commit

Permalink
Fix ios wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Sep 23, 2020
1 parent 7cdc0c0 commit 91517e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrappers/ios/vcx/ConnectMeVcx.m
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ - (void)agentProvisionAsync:(NSString *)config
completion:(void (^)(NSError *error, NSString *config))completion
{
const char *config_char = [config cStringUsingEncoding:NSUTF8StringEncoding];
vcx_command_handle_t handle= [[VcxCallbacks sharedInstance] createCommandHandleFor:completion] ;
vcx_command_handle_t handle= [[VcxCallbacks sharedInstance] createCommandHandleFor:completion];
vcx_error_t ret = vcx_agent_provision_async(handle, config_char, VcxWrapperCommonStringCallback);
if( ret != 0 )
{
Expand All @@ -385,8 +385,8 @@ - (void) updateWebhookUrl:(NSString *) notification_webhook_url
withCompletion:(void (^)(NSError *error))completion;
{
const char *notification_webhook_url_char = [notification_webhook_url cStringUsingEncoding:NSUTF8StringEncoding];
vcx_command_handle_t handle= [[VcxCallbacks sharedInstance] createCommandHandleFor:completion] ;
vcx_error_t ret = vcx_agent_provision_async(handle, config_char, VcxWrapperCommonStringCallback);
vcx_command_handle_t handle= [[VcxCallbacks sharedInstance] createCommandHandleFor:completion];
vcx_error_t ret = vcx_agent_provision_async(handle, notification_webhook_url_char, VcxWrapperCommonStringCallback);
if( ret != 0 )
{
[[VcxCallbacks sharedInstance] deleteCommandHandleFor: handle];
Expand Down

0 comments on commit 91517e0

Please sign in to comment.