mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
18 lines
355 B
PHP
18 lines
355 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\API;
|
|
|
|
/**
|
|
* @property string $token Lastfm's access token
|
|
* @property string $api_token Koel's current user's token
|
|
*/
|
|
class LastfmCallbackRequest extends Request
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'token' => 'required',
|
|
'api_token' => 'required',
|
|
];
|
|
}
|
|
}
|