repair: shift schema
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user