diff --git a/.gitignore b/.gitignore index 5c6b34c..6cbfc0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea/ www/res/scripts/* +*.sh diff --git a/src/locutus.ts b/src/locutus.ts index 10b3df5..5a8e2dc 100644 --- a/src/locutus.ts +++ b/src/locutus.ts @@ -182,7 +182,7 @@ export class App { for (const e of form.getElementsByTagName("input")) e.disabled = false; for (const e of form.getElementsByTagName("button")) e.disabled = false; } - } catch (error) { + } catch (error: any) { if (error.toString() === "Error: unable to authenticate") { const account = document.getElementsByName("account")[0]; if (account) account.setAttribute("invalid", "invalid"); @@ -238,7 +238,7 @@ export class App { this.addMessage(input.value); const val = input.value; input.value = ""; - await this.session.newEvent("60nc0XXDIYUh6QzX4p0rMpCdzDmxghZLZk8dLuQh628", { + await this.session.newEvent("24595934-4540-4333-ac2b-78796ac3f25f", { message: val, }); }