fix: refresh webapp profile after activation

This commit is contained in:
3252a8
2026-05-24 23:25:21 +03:00
parent 7cffb4667f
commit 85ecd644b8
7 changed files with 110 additions and 8 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ export async function mockApi(path, options = {}, context = {}) {
return { ok: true, ticket, messages: clone(supportMessages[ticket.ticket_id] || []) };
}
if (cleanPath === "/support/unread") return { ok: true, unread: 1 };
if (path === "/me") return clone(DEV_MOCK.data);
if (cleanPath === "/me") return clone(DEV_MOCK.data);
if (path === "/subscription-guides") return clone(DEV_MOCK.data.subscription_guides);
if (cleanPath.startsWith("/subscription-guides/public/")) {
const shareToken = decodeURIComponent(cleanPath.split("/").pop() || "");