Rename GuestUser to ApplicationSession as middleware to hold any site wide variables

This commit is contained in:
2023-03-02 12:15:08 +11:00
parent e0fb057c84
commit 35596ec867
5 changed files with 36 additions and 35 deletions

View File

@@ -22,7 +22,7 @@ class APIController extends Controller
$dn = Crypt::decryptString($request->query('key'));
Log::debug(sprintf('%s: Query [%s] - Levels [%d]',__METHOD__,$dn,$levels));
return (new Server())
return (config('server'))
->children($dn)
->transform(function($item) {
return [