Rename APIKey to ApiKey

This commit is contained in:
Dane Everitt 2018-01-14 12:06:15 -06:00
parent 7aa540b895
commit ad3a954256
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
14 changed files with 53 additions and 53 deletions

View file

@ -13,7 +13,7 @@ use File;
use Cache;
use Carbon;
use Request;
use Pterodactyl\Models\APIKey;
use Pterodactyl\Models\ApiKey;
use Illuminate\Support\ServiceProvider;
use Pterodactyl\Services\ApiKeyService;
@ -51,7 +51,7 @@ class MacroServiceProvider extends ServiceProvider
'ApiKeyMacro',
'ApiKeyMacro:Key:' . $parts[0],
])->remember('ApiKeyMacro.' . $parts[0], Carbon::now()->addMinutes(15), function () use ($parts) {
return APIKey::where('public', $parts[0])->first();
return ApiKey::where('public', $parts[0])->first();
});
}