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:
@@ -32,7 +32,7 @@ class InternArticleView extends Component
|
|||||||
->count() > 0 && !auth()->check()) {
|
->count() > 0 && !auth()->check()) {
|
||||||
abort(403, __('Sorry! You are not authorized to perform this action.'));
|
abort(403, __('Sorry! You are not authorized to perform this action.'));
|
||||||
}
|
}
|
||||||
if (auth()
|
if (auth()->check() && auth()
|
||||||
->user()
|
->user()
|
||||||
->paidArticles()
|
->paidArticles()
|
||||||
->where('library_item_id', $this->libraryItem->id)
|
->where('library_item_id', $this->libraryItem->id)
|
||||||
|
|||||||
Reference in New Issue
Block a user