VM9208:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
hatasını alıyorum. ilgili satır
function createQuiz() {
$("#step2").css("display", "flex").hide().fadeIn(),
$.post("./create-quiz", { username: username, questions: JSON.stringify(user_questions) }, function (e) {
"object" != typeof e && (e = JSON.parse(e)),
e.success &&
setInterval(function () {
window.location.href = "./share/" + e.shortcode;
}, 500);
});
}yardımcı olabilecekler varsa şimdiden teşekkür ediyorum.