/api/notes/ -> /api/notes/schedule/

This commit is contained in:
kakkokari-gtyih 2023-11-09 19:12:49 +09:00
parent 8a735c23e7
commit 4406af58f1
10 changed files with 42 additions and 19 deletions

View file

@ -786,7 +786,7 @@ async function post(ev?: MouseEvent) {
}
posting = true;
os.api(postData.schedule ? 'notes/create-schedule' : 'notes/create', postData, token).then(() => {
os.api(postData.schedule ? 'notes/schedule/create' : 'notes/create', postData, token).then(() => {
if (props.freezeAfterPosted) {
posted = true;
} else {