koel/app/Http/Requests/Download/Request.php

13 lines
231 B
PHP

<?php
namespace App\Http\Requests\Download;
use App\Http\Requests\API\Request as BaseRequest;
class Request extends BaseRequest
{
public function authorize(): bool
{
return config('koel.download.allow');
}
}