Rename APIKey to ApiKey
This commit is contained in:
parent
7aa540b895
commit
ad3a954256
14 changed files with 53 additions and 53 deletions
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue