This commit is contained in:
leca 2025-02-06 16:05:13 +03:00
parent 35f2499633
commit 91d6e64f18
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ $(document).ready(async () => {
const sendData = async () => {
const jwt = getCookie("jwt");
const author = await (await fetch(`/api/getUsername`)).json()
const author = await fetch(`/api/getUsername`)
const content = $("#chat-input").val();
const message = {