{"size": 600, "ext": "js", "max_stars_repo_path": "site/assets/js/dewy-dev.js", "max_stars_repo_name": "Sammy-T/dewy", "max_stars_repo_stars_event_min_datetime": "2021-07-15T08:27:45.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-17T05:02:54.000Z", "max_issues_repo_path": "site/assets/js/dewy-dev.js", "max_issues_repo_name": "Sammy-T/dewy", "max_issues_repo_issues_event_min_datetime": "2022-01-22T20:14:28.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-22T20:14:28.000Z", "max_forks_repo_path": "site/assets/js/dewy-dev.js", "max_forks_repo_name": "Sammy-T/dewy", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 27.2727272727, "max_line_length": 79, "alphanum_fraction": 0.6616666667}
async function devCheckAuth(testToken) {
	try {
		const response = await fetch('/.netlify/functions/authenticate-dev', {
			method: 'POST',
            body: JSON.stringify({testToken: testToken})
		});

        const responseJson = await response.json();
        console.log(responseJson);

        if(!response.ok) return;

		localStorage.setItem('dewy.accessExpires', Date.parse(responseJson.expires));
    } catch(error) {
		console.error(error);
        return;
    }
	
	// Make an initial request for bookmarks and display the full results
    await fetchBookmarks();
    searchBookmarks('');
}