yes
This commit is contained in:
parent
00e4f522ab
commit
37a33d8a73
24 changed files with 1233 additions and 202 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue