Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ChatoDeVeirman committed Mar 30, 2021
1 parent 86e7061 commit 88d4050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cf7/CustomAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function sendData($wpcf)
] );
}

$metedata = [];
$metadata = [];

foreach ( $posted_data as $id => $value ) {
if (
Expand All @@ -100,14 +100,14 @@ public function sendData($wpcf)
continue;
}

$metadata[ $id ] = $value;
$metadata[ $id ] = $value;
}

$client->addEvent(
Event::forUser(
'form' . $formId . '_submit',
UserIdentified::byEmail( $email )
)->withMetadata( $metedata )
)->withMetadata( $metadata )
);
}

Expand Down
2 changes: 1 addition & 1 deletion journy-io.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: journy.io
* Plugin URI: https://www.journy.io/
* Version: 2.0.10
* Version: 2.0.11
* Author: journy.io
* Description: Activates and tracks Wordpress events into journy.io
* License: GPL2
Expand Down

0 comments on commit 88d4050

Please sign in to comment.