refactor + fixes

This commit is contained in:
Andras Bacsai committed 2023-08-30 16:01:38 +02:00
1 parent 6f00740f67
commit 5b6667c461
21 files changed
+48 -36

No files matched your search

+2 -1
View File
@@ -53,7 +53,8 @@ function showBoarding(): bool
}
function refreshSession(): void
{
session(['currentTeam' => currentTeam()]);
$team = Team::find(currentTeam()->id);
session(['currentTeam' => $team]);
}
function general_error_handler(Throwable | null $err = null, $that = null, $isJson = false, $customErrorMessage = null): mixed
{