Commit 7bdffafc authored by Moises Sacal's avatar Moises Sacal
Browse files

updating provisioner-labarchives library, removing excesive logging

parent eeea0fd2
...@@ -76,7 +76,6 @@ var Controllers; ...@@ -76,7 +76,6 @@ var Controllers;
}) })
.subscribe(response => { .subscribe(response => {
const notebooks = response['users']['notebooks']; const notebooks = response['users']['notebooks'];
sails.log.debug(notebooks);
this.ajaxOk(req, res, null, { status: true, notebooks: notebooks, message: 'list' }); this.ajaxOk(req, res, null, { status: true, notebooks: notebooks, message: 'list' });
}, error => { }, error => {
sails.log.error('list: error'); sails.log.error('list: error');
...@@ -162,7 +161,6 @@ var Controllers; ...@@ -162,7 +161,6 @@ var Controllers;
return WorkspaceService.updateRecordMeta(this.config, recordMetadata, rdmp); return WorkspaceService.updateRecordMeta(this.config, recordMetadata, rdmp);
}) })
.subscribe(response => { .subscribe(response => {
sails.log.debug(response);
this.ajaxOk(req, res, null, { status: true, message: 'workspaceRecordCreated' }); this.ajaxOk(req, res, null, { status: true, message: 'workspaceRecordCreated' });
}, error => { }, error => {
sails.log.error('link: error'); sails.log.error('link: error');
......
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
"dev": true "dev": true
}, },
"@uts-eresearch/provision-labarchives": { "@uts-eresearch/provision-labarchives": {
"version": "git+https://code.research.uts.edu.au/eresearch/provision-labarchives.git#4ffeaecca42e5af57cc5557fb545818e9c01ef1a", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/@uts-eresearch/provision-labarchives/-/provision-labarchives-1.0.1.tgz",
"integrity": "sha512-sll6w0aB//TWvawvBAvuYPBNdDx9EUh4d/Ld2KtG1+MiSbtZulzXDN1luiMYHUsUrYqVg8kwqO+/tstQrlHV4Q==",
"requires": { "requires": {
"axios": "0.17.1", "axios": "0.17.1",
"common-tags": "1.8.0", "common-tags": "1.8.0",
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"typescript": "^2.9.2" "typescript": "^2.9.2"
}, },
"dependencies": { "dependencies": {
"@uts-eresearch/provision-labarchives": "git+https://code.research.uts.edu.au/eresearch/provision-labarchives.git", "@uts-eresearch/provision-labarchives": "1.0.1",
"lodash": "^4.17.11", "lodash": "^4.17.11",
"ncp": "^2.0.0", "ncp": "^2.0.0",
"path-exists": "^3.0.0", "path-exists": "^3.0.0",
......
...@@ -93,7 +93,6 @@ export module Controllers { ...@@ -93,7 +93,6 @@ export module Controllers {
}) })
.subscribe(response => { .subscribe(response => {
const notebooks = response['users']['notebooks']; const notebooks = response['users']['notebooks'];
sails.log.debug(notebooks);
this.ajaxOk(req, res, null, {status: true, notebooks: notebooks, message: 'list'}); this.ajaxOk(req, res, null, {status: true, notebooks: notebooks, message: 'list'});
}, error => { }, error => {
sails.log.error('list: error'); sails.log.error('list: error');
...@@ -186,7 +185,6 @@ export module Controllers { ...@@ -186,7 +185,6 @@ export module Controllers {
return WorkspaceService.updateRecordMeta(this.config, recordMetadata, rdmp); return WorkspaceService.updateRecordMeta(this.config, recordMetadata, rdmp);
}) })
.subscribe(response => { .subscribe(response => {
sails.log.debug(response);
this.ajaxOk(req, res, null, {status: true, message: 'workspaceRecordCreated'}); this.ajaxOk(req, res, null, {status: true, message: 'workspaceRecordCreated'});
}, error => { }, error => {
sails.log.error('link: error'); sails.log.error('link: error');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment