Update unifi.com.my.config.js
This commit is contained in:
1 parent
a4ef81f20e
commit
e2ff70e3c7
1 file changed
+1
-2
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
|
'x-requested-with': 'XMLHttpRequest'
|
||||||
},
|
},
|
||||||
data({ date }) {
|
data({ date }) {
|
||||||
const params = new URLSearchParams()
|
const params = new URLSearchParams()
|
||||||
@@ -58,4 +58,3 @@ function parseStart(item, date) {
|
|||||||
const time = `${date.format('YYYY-MM-DD')} ${item.start_time}`
|
const time = `${date.format('YYYY-MM-DD')} ${item.start_time}`
|
||||||
return dayjs.tz(time, 'YYYY-MM-DD H:mma', 'Asia/Kuala_Lumpur')
|
return dayjs.tz(time, 'YYYY-MM-DD H:mma', 'Asia/Kuala_Lumpur')
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user