Create api for user on Pterodactyl
In ApiKeyController add: public function storeforuser(StoreApiKeyRequest $request, int $userId): array { $user = User::find($userId); if (!$user) { throw new DisplayException('User not found.'); } if...
In ApiKeyController add: public function storeforuser(StoreApiKeyRequest $request, int $userId): array { $user = User::find($userId); if (!$user) { throw new DisplayException('User not found.'); } if...

Had to do some new stuff to our old classic asp site. Wrote a SQL query which returned json, this had to be parsed and put into a Google graph component. Spent a shit load of time to get to know aspJson and figure out how to get my data. This is what...