Skip to content

Commit

Permalink
Added slash in bootstrap and removed in other places for nfd worker f…
Browse files Browse the repository at this point in the history
…acebook
  • Loading branch information
ramyakrishnai committed Jan 25, 2024
1 parent 235894c commit 0f12e31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function () {
'label' => __('Facebook', 'wp-module-facebook'),
'callback' => function (Container $container) {
if (!defined('NFD_FACEBOOK_WORKER')) {
define('NFD_FACEBOOK_WORKER', 'https://hiive.cloud/workers/facebook-connect');
define('NFD_FACEBOOK_WORKER', 'https://hiive.cloud/workers/facebook-connect/');
}
if (!defined('NFD_FACEBOOK_GRAPH_BASE')) {
define('NFD_FACEBOOK_GRAPH_BASE', 'https://graph.facebook.com');
Expand Down
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-i18n'), 'version' => '405b33e90f76ae50db4f');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-i18n'), 'version' => 'cd3e17d9655d61edb0aa');
4 changes: 2 additions & 2 deletions includes/services/FacebookService.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function get_hiive_token()
public static function get_token()
{
$hiive_token = FacebookService::get_hiive_token();
$url = NFD_FACEBOOK_WORKER . '/get/token?hiive_token=' . $hiive_token;
$url = NFD_FACEBOOK_WORKER . 'get/token?hiive_token=' . $hiive_token;
$request = wp_remote_get(
$url,
array(
Expand Down Expand Up @@ -53,7 +53,7 @@ public static function get_token()
public static function delete_token()
{
$hiive_token = FacebookService::get_hiive_token();
$url = NFD_FACEBOOK_WORKER . '/delete/token?hiive_token=' . $hiive_token;
$url = NFD_FACEBOOK_WORKER . 'delete/token?hiive_token=' . $hiive_token;
$request = wp_remote_get(
$url,
array(
Expand Down

0 comments on commit 0f12e31

Please sign in to comment.