From eed979bf1136b2ce499b7b136c6f7531b67e3c3d Mon Sep 17 00:00:00 2001 From: seb Date: Fri, 30 Oct 2026 16:26:37 +0100 Subject: [PATCH] u --- src/api/auth.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/auth.js b/src/api/auth.js index 72d3605..de17c57 100644 --- a/src/api/auth.js +++ b/src/api/auth.js @@ -9,6 +9,8 @@ export const auth = { user: data.user ?? null, googleClientId: data.googleClientId ?? null, schemaVersion: data.schemaVersion ?? null, + vhost: Boolean(data.vhost), + vhostSettings: data.vhostSettings ?? null, }; } catch (err) { if (err.status === 401 || err.status === 403) { @@ -16,6 +18,8 @@ export const auth = { user: null, googleClientId: err.data?.googleClientId ?? null, schemaVersion: err.data?.schemaVersion ?? null, + vhost: Boolean(err.data?.vhost), + vhostSettings: err.data?.vhostSettings ?? null, forbidden: err.status === 403, message: err.message, };