Removed random YT reward and added notes

This commit is contained in:
ポール ウェッブ 2019-04-16 16:51:43 -05:00
parent 808dc1a1e5
commit c6d5990629
2 changed files with 5 additions and 5 deletions

View file

@ -53,7 +53,12 @@ class LBRY
public static function connectYoutube($channel_name)
{
$type = 'sync';
// Uncomment next line for production and comment other return
return Curl::post(static::getApiUrl('/yt/new'), ['desired_lbry_channel_name' => $channel_name, 'type' => $type], ['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, 'type' => $type, 'return_url' => 'http://localhost:8000/youtube/status/'], ['json_response' => true]);
}
// Check the sync status

View file

@ -41,11 +41,6 @@
<?php endif ?>
<h2><?php echo $isSyncAgreed && $isRewardClaimed ? "You're all set!" : "Almost done!" ?></h2>
<div>
<?php echo
$statusData['redeemed_reward']
?>
</div>
<div class="confirmation-steps">
<ul class="bulletless">