You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use App\Http\Requests\UpdateApiUserTimezoneRequest;
use App\Http\Resources\CurrentUserResource;
use App\Models\User;
use App\Queries\NotificationGroupsQuery;
use Illuminate\Container\Attributes\CurrentUser;
final readonly class UserTimezoneController
{
/**
* Saves the timezone the web shows times in, as Settings does on the web, and answers as GET /api/v1/me does.
*/
public function update(UpdateApiUserTimezoneRequest $request, #[CurrentUser] User $user, UpdateUserTimezone $action, NotificationGroupsQuery $notifications): CurrentUserResource