enable local saving on questionnaire
This commit is contained in:
parent
064244e572
commit
ee7849941f
@ -32,7 +32,6 @@ export const getQuestionnaire = ({ dispatch, id }) =>
|
||||
|
||||
return new Promise((resolve, reject) =>
|
||||
{
|
||||
/*
|
||||
axios.get(`${ process.env.NEXT_PUBLIC_SELF_API_HOST }/api/questionnaire/read`, {})
|
||||
.then((response_read) =>
|
||||
{
|
||||
@ -44,7 +43,6 @@ export const getQuestionnaire = ({ dispatch, id }) =>
|
||||
}
|
||||
else
|
||||
{
|
||||
*/
|
||||
axios.get(`${ process.env.NEXT_PUBLIC_SELF_API_HOST }/api/questionnaire/get`, {
|
||||
params: {
|
||||
id
|
||||
@ -139,7 +137,6 @@ export const getQuestionnaire = ({ dispatch, id }) =>
|
||||
{
|
||||
resolve();
|
||||
}
|
||||
/*
|
||||
})
|
||||
.catch((error) =>
|
||||
{
|
||||
@ -149,7 +146,6 @@ export const getQuestionnaire = ({ dispatch, id }) =>
|
||||
reject();
|
||||
});
|
||||
}
|
||||
*/
|
||||
})
|
||||
.catch(() =>
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user