Skip to content

Commit d0207b3

Browse files
author
kaleidox
committed
fix target location
1 parent a70b311 commit d0207b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/static/timetable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function submitCreateEntry() {
7272
body: JSON.stringify(data)
7373
}).then(response => {
7474
if (Math.floor(response.status / 100) === 2) {
75-
window.location.href = `${window.location.origin}/timetable/${data.customerInfo.name}/${data.customerInfo.department}/${data.startTime}`
75+
window.location.href = `${window.location.origin}/timetable/${data.customerName}/${data.departmentName}/${data.startTime}`
7676
return
7777
}
7878
response.text().then(alert)

0 commit comments

Comments
 (0)