Skip to content

Commit

Permalink
Fix updateWebhookUrl in ios wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik-Stas committed Sep 24, 2020
1 parent e9dda19 commit 2fa3637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/ios/vcx/ConnectMeVcx.m
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ - (void) updateWebhookUrl:(NSString *) notification_webhook_url
{
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, notification_webhook_url_char, VcxWrapperCommonStringCallback);
vcx_error_t ret = vcx_update_webhook_url(handle, notification_webhook_url_char, VcxWrapperCommonCallback);
if( ret != 0 )
{
[[VcxCallbacks sharedInstance] deleteCommandHandleFor: handle];
Expand Down

0 comments on commit 2fa3637

Please sign in to comment.