This commit is contained in:
Maieul BOYER 2025-12-10 16:38:26 +01:00 committed by apetitco
parent 00e4f522ab
commit 37a33d8a73
24 changed files with 1233 additions and 202 deletions

View file

@ -209,7 +209,7 @@ async function handleLogin(
document.querySelector<HTMLButtonElement>("#bGuestLogin");
bLoginAsGuest?.addEventListener("click", async () => {
try {
const res = await client.guestLogin();
const res = await client.guestLogin({ guestLoginRequest: { name: undefined } });
switch (res.kind) {
case "success": {
Cookie.set("token", res.payload.token, {