Skip to content
Snippets Groups Projects
Commit 6dcb8ac6 authored by vincent.steinman's avatar vincent.steinman Committed by michael.minelli
Browse files

fix param/body for add, delete

parent 20bcd68f
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ import Assignment from './Assignment'; ...@@ -3,7 +3,7 @@ import Assignment from './Assignment';
import Exercise from './Exercise'; import Exercise from './Exercise';
interface Tag { interface Tags {
name: string; name: string;
type: 'Language' | 'Framework' | 'Theme' | 'UserDefined'; type: 'Language' | 'Framework' | 'Theme' | 'UserDefined';
...@@ -13,5 +13,5 @@ interface Tag { ...@@ -13,5 +13,5 @@ interface Tag {
correctionCommit: CommitSchema | undefined; correctionCommit: CommitSchema | undefined;
} }
export default Tag; export default Tags;
\ No newline at end of file
...@@ -13,9 +13,9 @@ enum ApiRoute { ...@@ -13,9 +13,9 @@ enum ApiRoute {
EXERCISE_ASSIGNMENT = '/exercises/{{exerciseIdOrUrl}}/assignment', EXERCISE_ASSIGNMENT = '/exercises/{{exerciseIdOrUrl}}/assignment',
EXERCISE_RESULTS = '/exercises/{{exerciseIdOrUrl}}/results' EXERCISE_RESULTS = '/exercises/{{exerciseIdOrUrl}}/results'
ADD_TAG = '/tags', ADD_TAG = '/tags',
DELETE_TAG = '/tags/{tagid}', DELETE_TAG = '/tags/{{tageName}}',
PROPOSE_TAG = '/tags/proposals', PROPOSE_TAG = '/tags/proposals/{{state}}',
ANSWER_TAG_PROPOSAL = '/tags/proposals/{tagProposalName}' ANSWER_TAG_PROPOSAL = '/tags/proposals/{{tagProposalName}}'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment