Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

short survey for 9/2022 #808

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/data/surveys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export const SURVEYS: SurveyConfigObject = {
navSchema: async () => await import(`./postLab_navSchema${postfix}.json`),
},*/

POST_LAB_TEST: {
//short survey rename to POST_LAB_MONTHLY when in use
POST_LAB_MONTHLY: {
//short survey rename to POST_LAB_MONTHLY when in use, POST_LAB_TEST when not in use
formSchema: async () =>
await import(`./postLabShort_formSchema${postfix}.json`),
uiSchema: async () =>
Expand All @@ -75,8 +75,8 @@ export const SURVEYS: SurveyConfigObject = {
await import(`./postLabShort_navSchema${postfix}.json`),
},

POST_LAB_MONTHLY: {
//short survey rename to POST_LAB_TEST when not in use
POST_LAB_TEST: {
//short survey rename to POST_LAB_MONTHLY when in use POST_LAB_TEST when not in use
// long survey
formSchema: async () =>
await import(`./postLabMonthly_formSchema${postfix}.json`),
Expand Down
2 changes: 1 addition & 1 deletion src/services/survey.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getMonthlySurveyEndpoint = () => {
today.getMonth() + 1
}_${today.getFullYear()}`*/

const endpoint = `${ENDPOINT}/v4/users/self/reports/${MONTHLY_SURVEY_IDENTIFIER}_06_${today.getFullYear()}`
const endpoint = `${ENDPOINT}/v4/users/self/reports/${MONTHLY_SURVEY_IDENTIFIER}_09_${today.getFullYear()}`

return endpoint
}
Expand Down