remove hardcoded user id from home

This commit is contained in:
Yisroel Baum 2026-04-24 13:29:49 +03:00
parent cb697daa03
commit 8c52294b10
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -67,8 +67,8 @@ document.addEventListener('DOMContentLoaded', () => {
const response = await fetch('/api/plans', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
credentials: 'same-origin',
body: JSON.stringify({
userId: 0,
textId: textId,
name: planName,
dateStart: dateStart,