Skip to content
Snippets Groups Projects
Commit 9f8f4e6e authored by vincent.steinman's avatar vincent.steinman
Browse files

fix param/body for add, delete

parent c2a4e515
No related branches found
No related tags found
1 merge request!2Tags
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -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/{{id}}/assignment', EXERCISE_ASSIGNMENT = '/exercises/{{id}}/assignment',
EXERCISE_RESULTS = '/exercises/{{id}}/results', EXERCISE_RESULTS = '/exercises/{{id}}/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