Skip to content

Commit

Permalink
Fix questionnaire by ID
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Sep 8, 2023
1 parent be40874 commit b69ce33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/app/api/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ export const getQuestionnaires = (): Promise<Questionnaire[]> =>
export const getQuestionnaireById = (
id: number | string
): Promise<Questionnaire> =>
axios.get(`${QUESTIONNAIRES}/id/${id}`).then((response) => response.data);
axios.get(`${QUESTIONNAIRES}/${id}`).then((response) => response.data);

export const createQuestionnaire = (
obj: Questionnaire
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Soccer Questionnaire
name: Test questionnaire
description: This is a sample questionnaire in YAML format
revision: 1
required: true
Expand Down

0 comments on commit b69ce33

Please sign in to comment.