remove hardcoded user id from home
This commit is contained in:
parent
cb697daa03
commit
8c52294b10
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue