mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
lnbits paid articles added
This commit is contained in:
@@ -51,7 +51,15 @@ class InternArticleView extends Component
|
||||
$this->paymentHash = $invoice['payment_hash'];
|
||||
$this->qrCode = base64_encode(QrCode::format('png')
|
||||
->size(300)
|
||||
->merge($this->libraryItem->lecturer->getFirstMedia('avatar') ? $this->libraryItem->lecturer->getFirstMediaPath('avatar') : '/public/img/einundzwanzig.png',
|
||||
->merge($this->libraryItem->lecturer->getFirstMedia('avatar')
|
||||
? str(
|
||||
$this->libraryItem
|
||||
->lecturer
|
||||
->getFirstMediaPath('avatar'))
|
||||
->replace('/home/einundzwanzig/portal.einundzwanzig.space',
|
||||
''
|
||||
)
|
||||
: '/public/img/einundzwanzig.png',
|
||||
.3)
|
||||
->errorCorrection('H')
|
||||
->generate($invoice['payment_request']));
|
||||
|
||||
Reference in New Issue
Block a user