bitbucket-srv-rest
Advanced tools
Comparing version
70
index.js
@@ -35,3 +35,3 @@ var RSVP = require('rsvp'); | ||
'description': `A Test Project named ${name}.` | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -49,3 +49,3 @@ }; | ||
} | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -65,3 +65,3 @@ } | ||
} | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -79,3 +79,3 @@ } | ||
} | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -110,3 +110,3 @@ } | ||
'forkable': true | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -159,3 +159,3 @@ }; | ||
resolve(); // done | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -175,3 +175,3 @@ }; | ||
resolve(forks); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -198,3 +198,3 @@ }; | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
) | ||
@@ -227,3 +227,3 @@ } | ||
else reject(); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -239,3 +239,3 @@ }; | ||
else reject(); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -252,3 +252,3 @@ }; | ||
else reject(); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -266,3 +266,3 @@ }; | ||
else reject(); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -279,3 +279,3 @@ }; | ||
else reject(); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -320,3 +320,3 @@ }; | ||
} | ||
}).json({}).auth('admin', 'admin', true); | ||
}).json({}).auth(self.getAuth(), true); | ||
}); | ||
@@ -338,3 +338,3 @@ }; | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -392,3 +392,3 @@ } | ||
} | ||
}).json({}).auth('admin', 'admin', true); | ||
}).json({}).auth(self.getAuth(), true); | ||
}); | ||
@@ -403,3 +403,3 @@ }; | ||
resolve(); //done | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -419,3 +419,3 @@ }; | ||
resolve() // done | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}) | ||
@@ -435,3 +435,3 @@ } | ||
} | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -607,3 +607,3 @@ }; | ||
reject(); | ||
}).json(data).auth('admin', 'admin', true); | ||
}).json(data).auth(self.getAuth(), true); | ||
@@ -620,3 +620,3 @@ }); | ||
resolve(prJson); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
@@ -634,3 +634,3 @@ }); | ||
resolve(prJson); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
@@ -700,3 +700,3 @@ }); | ||
}) | ||
.auth('admin', 'admin', true); | ||
.auth(self.getAuth(), true); | ||
}); | ||
@@ -712,3 +712,3 @@ }; | ||
resolve(branches); | ||
}).auth('admin', 'admin', true); | ||
}).auth(self.getAuth(), true); | ||
}); | ||
@@ -770,3 +770,3 @@ }; | ||
.json(reviewerGroup) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
) | ||
@@ -785,3 +785,3 @@ } | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
) | ||
@@ -800,3 +800,3 @@ } | ||
reject() | ||
}).json(settings).auth('admin', 'admin', true) | ||
}).json(settings).auth(self.getAuth(), true) | ||
}) | ||
@@ -815,3 +815,3 @@ } | ||
reject() | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -831,3 +831,3 @@ } | ||
reject() | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -850,3 +850,3 @@ } | ||
'text': comment | ||
}).auth('admin', 'admin', true) | ||
}).auth(self.getAuth(), true) | ||
}) | ||
@@ -873,3 +873,3 @@ } | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -893,3 +893,3 @@ } | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -910,3 +910,3 @@ } | ||
.json({hostname, port, "sender-address": senderddress}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -926,3 +926,3 @@ } | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -942,3 +942,3 @@ } | ||
}) | ||
.auth('admin', 'admin', true) | ||
.auth(self.getAuth(), true) | ||
}) | ||
@@ -945,0 +945,0 @@ } |
{ | ||
"name": "bitbucket-srv-rest", | ||
"version": "1.9.4", | ||
"version": "1.9.5", | ||
"description": "Bitbucket Server REST API Library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
68128
-0.09%