Commit df190744 authored by Patricio Bruna's avatar Patricio Bruna

new compiled js

parent 4703cbf4
......@@ -2481,6 +2481,13 @@ return /******/ (function(modules) { // webpackBootstrap
this.token = response.get().AuthResponse.authToken[0]._content;
if ( response.get().AuthResponse.session && response.get().AuthResponse.session.id ) {
this.session = {
type: response.get().AuthResponse.session.type,
id: response.get().AuthResponse.session.id
}
}
if (this.debug) {
LOG.info('Retrieved auth token %s', this.token);
}
......@@ -2776,6 +2783,8 @@ return /******/ (function(modules) { // webpackBootstrap
}
requestOptions.context.session = this.session ? this.session : {};
var request;
try {
......
......@@ -523,6 +523,7 @@
it('addAdmin should add Admin', function(done){
let api = new ZimbraAdminApi(auth_data);
let domain_admin = Date.now() + '@customer.dev';
let resource_name = Date.now() + '.dev';
api.createAccount(domain_admin, '12dda.222', {}, function(err, account){
......
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