This commit is contained in:
Maieul BOYER 2025-12-10 16:38:26 +01:00
parent 085de41194
commit eb5e4f25a1
No known key found for this signature in database
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, {