repair: shift schema

This commit is contained in:
Muhammad Afif
2025-10-17 13:08:29 +07:00
parent d0394f27eb
commit c772b7a9df
2 changed files with 1 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ const getScheduleByIdDb = async (id) => {
};
const insertScheduleDb = async (store) => {
const nextDays = Number(store.next_day ?? 0);
const nextDays = Number(store.next_day ?? 0); // default 0 kalau tidak diisi
const insertedRecords = [];
for (let i = 0; i <= nextDays; i++) {