This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((async (startPage = 0, autoClearConsole = true) => { | |
const getCookie = (name) => { | |
const value = `; ${document.cookie}`; | |
const parts = value.split(`; ${name}=`); | |
if (parts.length === 2) return parts.pop().split(';').shift(); | |
}; | |
const callCacheApi = async (params = {}) => { | |
const defaultParams = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"academic_years":[ | |
{ | |
"created_at":"2018-08-11T11:35:29", | |
"deleted_at":null, | |
"end_date":"2018-12-19", | |
"guid":"2adeab27-b77d-40e8-b5c6-48ff699833ef", | |
"holidays":[ | |
], |