Skip to content

Commit

Permalink
Merge pull request #182 from bcgov/dev
Browse files Browse the repository at this point in the history
fixes bug with global fed caps cache
  • Loading branch information
kmarshgov authored Jan 31, 2025
2 parents b0ab578 + 87237d6 commit 03fb9bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public function version(Request $request): ?string
public function share(Request $request): array
{
$user = null;
$globalFedCaps = [
'list' => [],
'default' => null,
];
if (Auth::check()) {
$user = User::find(Auth::id());

Expand Down

0 comments on commit 03fb9bb

Please sign in to comment.