Skip to content
Snippets Groups Projects
Commit 65fd5cce authored by Olivér FACKLAM's avatar Olivér FACKLAM
Browse files

Small changes

parent d3db3d4c
No related branches found
No related tags found
No related merge requests found
...@@ -197,6 +197,7 @@ router.get('/db/:table_name?', ...@@ -197,6 +197,7 @@ router.get('/db/:table_name?',
} else { } else {
columns = null; columns = null;
} }
console.log(req.params.table_name);
console.log(columns); console.log(columns);
knex.select(columns).from(req.params.table_name).then( knex.select(columns).from(req.params.table_name).then(
......
...@@ -200,6 +200,7 @@ export class GroupModel { ...@@ -200,6 +200,7 @@ export class GroupModel {
*/ */
async createSubgroup(args: createSubgroupArgs): Promise<Group> { async createSubgroup(args: createSubgroupArgs): Promise<Group> {
throw "Not implemented"; throw "Not implemented";
//TODO : Vérifier que 'parent' est un groupe _simple_.
// TODO : finish // TODO : finish
/*if (typeof args.fromGroup != 'string') /*if (typeof args.fromGroup != 'string')
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* @memberof GraphQL * @memberof GraphQL
*/ */
import { User as UT, userData } from '../../ldap/export/user' import { userData } from '../../ldap/export/user'
import knex from '../../../db/knex_router'; import knex from '../../../db/knex_router';
export class GroupSet extends Set<string> { export class GroupSet extends Set<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