From 3c9e5601d46eb68049d6aaf7d0dde1c5c1a16641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Mon, 22 Apr 2019 16:20:37 -0500 Subject: [PATCH] Fixed error message --- lib/thirdparty/LBRY.class.php | 20 ++++++++++---------- view/template/acquisition/youtube_status.php | 7 ++++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/lib/thirdparty/LBRY.class.php b/lib/thirdparty/LBRY.class.php index bab045b0..0a0c5c68 100644 --- a/lib/thirdparty/LBRY.class.php +++ b/lib/thirdparty/LBRY.class.php @@ -53,23 +53,23 @@ class LBRY public static function connectYoutube($channel_name, $immediateSync = false) { // Uncomment next line for production and comment other return - return Curl::post(static::getApiUrl('/yt/new'), [ - 'desired_lbry_channel_name' => $channel_name, - 'immediate_sync' => $immediateSync, - 'type' => 'sync' - ], [ - 'json_response' => true - ]); - - // Uncomment next line for development and comment other return (this also requires the testnet API) // return Curl::post(static::getApiUrl('/yt/new'), [ // 'desired_lbry_channel_name' => $channel_name, // 'immediate_sync' => $immediateSync, - // 'return_url' => 'http://localhost:8000/youtube/status/', // 'type' => 'sync' // ], [ // 'json_response' => true // ]); + + // Uncomment next line for development and comment other return (this also requires the testnet API) + return Curl::post(static::getApiUrl('/yt/new'), [ + 'desired_lbry_channel_name' => $channel_name, + 'immediate_sync' => $immediateSync, + 'return_url' => 'http://localhost:8000/youtube/status/', + 'type' => 'sync' + ], [ + 'json_response' => true + ]); } // Check the sync status diff --git a/view/template/acquisition/youtube_status.php b/view/template/acquisition/youtube_status.php index 9fe58997..98911028 100644 --- a/view/template/acquisition/youtube_status.php +++ b/view/template/acquisition/youtube_status.php @@ -35,9 +35,10 @@
-
- Your email address is set as .
If this is not your email address, please change it below. -
+

+ Your email address is set as .
+ If this is not your email address, please change it below. +