Skip to content
Snippets Groups Projects
Commit 311b02cc authored by Nabilsenko's avatar Nabilsenko
Browse files

fix comments

parent 50b13ef6
No related branches found
No related tags found
1 merge request!13Change token param
...@@ -47,11 +47,6 @@ export class GroupsController { ...@@ -47,11 +47,6 @@ export class GroupsController {
@Param() params: { id: string; role: string }, @Param() params: { id: string; role: string },
@Body() body: { personId: string; action: string }, @Body() body: { personId: string; action: string },
): Promise<GroupEntity | void> { ): Promise<GroupEntity | void> {
console.log('***************' + params.id,
params.role,
body.personId,
body.action);
return this._groupsService.updateOneByRole( return this._groupsService.updateOneByRole(
params.id, params.id,
params.role, params.role,
......
...@@ -120,7 +120,7 @@ export class InternshipDao { ...@@ -120,7 +120,7 @@ export class InternshipDao {
content: string | boolean, content: string | boolean,
): Promise<Internship | void> => ): Promise<Internship | void> =>
new Promise((resolve, reject) => { new Promise((resolve, reject) => {
// console.log('%s/%s: {%s}', studentId, state, content); console.log('%s/%s: {%s}', studentId, state, content);
if (!isStateValid(state)) reject(BAD_REQUEST); if (!isStateValid(state)) reject(BAD_REQUEST);
console.log(content); console.log(content);
let nextState: string, contentHolder: string; let nextState: string, contentHolder: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment