mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
fix: allow v7 as an API version
This commit is contained in:
parent
60b32eb7d3
commit
a53c9df893
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||
$version = app()->runningUnitTests() ? env('X_API_VERSION') : request()->header('X-Api-Version');
|
||||
|
||||
if ($version) {
|
||||
Assert::oneOf($version, ['v6']);
|
||||
Assert::oneOf($version, ['v6', 'v7']);
|
||||
}
|
||||
|
||||
return $version;
|
||||
|
|
Loading…
Reference in a new issue