mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
Select de-style
This commit is contained in:
parent
20fb611ee3
commit
83ed7f3b31
3 changed files with 5 additions and 17 deletions
|
@ -38,7 +38,7 @@ const fetchPossibleAnswers = () => {
|
|||
const fetchSubject = (subj, savedQuestionsFileName) => {
|
||||
return new Promise((resolve) => {
|
||||
fetch(
|
||||
`${constants.apiUrl}/savedQuestions/${subj}/${savedQuestionsFileName}`,
|
||||
`${constants.apiUrl}savedQuestions/${subj}/${savedQuestionsFileName}`,
|
||||
{
|
||||
credentials: 'include',
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ const fetchSubject = (subj, savedQuestionsFileName) => {
|
|||
|
||||
const fetchTest = (subj, test) => {
|
||||
return new Promise((resolve) => {
|
||||
fetch(`${constants.apiUrl}/savedQuestions/${subj}/${test}`, {
|
||||
fetch(`${constants.apiUrl}savedQuestions/${subj}/${test}`, {
|
||||
credentials: 'include',
|
||||
})
|
||||
.then((resp) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue