Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zimbra-admin-api-js
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Public
zimbra-admin-api-js
Commits
df190744
Commit
df190744
authored
Jun 06, 2016
by
Patricio Bruna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new compiled js
parent
4703cbf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
zimbra-admin-api.js
lib/zimbra-admin-api.js
+9
-0
test.js
test/js/spec/test.js
+1
-0
No files found.
lib/zimbra-admin-api.js
View file @
df190744
...
...
@@ -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 {
...
...
test/js/spec/test.js
View file @
df190744
...
...
@@ -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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment