mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Removed random YT reward and added notes
This commit is contained in:
parent
808dc1a1e5
commit
c6d5990629
2 changed files with 5 additions and 5 deletions
5
lib/thirdparty/LBRY.class.php
vendored
5
lib/thirdparty/LBRY.class.php
vendored
|
@ -53,7 +53,12 @@ class LBRY
|
||||||
public static function connectYoutube($channel_name)
|
public static function connectYoutube($channel_name)
|
||||||
{
|
{
|
||||||
$type = 'sync';
|
$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]);
|
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
|
// Check the sync status
|
||||||
|
|
|
@ -41,11 +41,6 @@
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<h2><?php echo $isSyncAgreed && $isRewardClaimed ? "You're all set!" : "Almost done!" ?></h2>
|
<h2><?php echo $isSyncAgreed && $isRewardClaimed ? "You're all set!" : "Almost done!" ?></h2>
|
||||||
<div>
|
|
||||||
<?php echo
|
|
||||||
$statusData['redeemed_reward']
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="confirmation-steps">
|
<div class="confirmation-steps">
|
||||||
<ul class="bulletless">
|
<ul class="bulletless">
|
||||||
|
|
Loading…
Add table
Reference in a new issue