Added info if quiz on kahoot is private

This commit is contained in:
Mawoka
2023-06-30 16:52:59 +02:00
parent a2cd034176
commit 3a2ab6c64b
4 changed files with 16 additions and 17 deletions
+4 -2
View File
@@ -44,13 +44,15 @@ SPDX-License-Identifier: MPL-2.0
body: "This quiz isn't (yet) supported!"
});*/
alert("This quiz isn't (yet) supported!");
} else {
} else if (res.status === 403) {
/* alertModal.set({
open: true,
title: 'Import failed',
body: 'Unknown error while importing the quiz!'
});*/
alert('Import failed with unknown reason');
alert('Quiz is probably private!');
} else {
alert(`Kahoot replied with ${res.status}`);
}
is_loading = false;
};