Update deprecated JSON response creation and unnecessary middleware

This commit is contained in:
DaneEveritt 2022-05-04 19:23:01 -04:00
parent f5ad9b9e11
commit 530558b0f8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
11 changed files with 9 additions and 91 deletions

60
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d51c727b5c04b52d1d56e2e64e8355b9",
"content-hash": "75eb69604c51a9ac2dcdf4da1f6d24cb",
"packages": [
{
"name": "aws/aws-crt-php",
@ -923,64 +923,6 @@
],
"time": "2020-12-29T14:50:06+00:00"
},
{
"name": "fideloper/proxy",
"version": "4.4.1",
"source": {
"type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git",
"reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/c073b2bd04d1c90e04dc1b787662b558dd65ade0",
"reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0",
"shasum": ""
},
"require": {
"illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0",
"php": ">=5.4.0"
},
"require-dev": {
"illuminate/http": "^5.0|^6.0|^7.0|^8.0|^9.0",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^6.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Fideloper\\Proxy\\TrustedProxyServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Fideloper\\Proxy\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Chris Fidao",
"email": "fideloper@gmail.com"
}
],
"description": "Set trusted proxies for Laravel",
"keywords": [
"load balancing",
"proxy",
"trusted proxy"
],
"support": {
"issues": "https://github.com/fideloper/TrustedProxy/issues",
"source": "https://github.com/fideloper/TrustedProxy/tree/4.4.1"
},
"time": "2020-10-22T13:48:01+00:00"
},
{
"name": "graham-campbell/result-type",
"version": "v1.0.4",