2
0
Fork 0
mirror of https://github.com/koel/koel synced 2024-12-27 13:03:06 +00:00
koel/app/Http/Requests/API/LastfmCallbackRequest.php
2020-12-22 21:11:22 +01:00

19 lines
390 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
{
/** @return array<mixed> */
public function rules(): array
{
return [
'token' => 'required',
'api_token' => 'required',
];
}
}