Skip to content

Commit 12dab86

Browse files
committed
cr comments
1 parent 3973fba commit 12dab86

File tree

6 files changed

+27
-17
lines changed

6 files changed

+27
-17
lines changed

dist/node/admin.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,14 +352,18 @@ var StitchAdminClient = exports.StitchAdminClient = function (_StitchClient) {
352352
installation: function installation() {
353353
return api._get(appUrl + '/deploy/installation');
354354
},
355-
repositories: function repositories(repoId) {
355+
repositories: function repositories() {
356356
return {
357-
branches: function branches() {
357+
repository: function repository(repoId) {
358358
return {
359-
list: function list() {
359+
github: function github() {
360360
return {
361-
github: function github() {
362-
return api._get(appUrl + '/deploy/github/repositories/' + repoId + '/branches');
361+
branches: function branches() {
362+
return {
363+
list: function list() {
364+
return api._get(appUrl + '/deploy/github/repositories/' + repoId + '/branches');
365+
}
366+
};
363367
}
364368
};
365369
}

dist/web/stitch.js

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/stitch.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/stitch.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/stitch.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/admin.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,12 @@ export class StitchAdminClient extends StitchClient {
256256
get: commit => api._get(`${appUrl}/deployments/${commit}`)
257257
}),
258258
installation: () => api._get(`${appUrl}/deploy/installation`),
259-
repositories: repoId => ({
260-
branches: () => ({
261-
list: () => ({
262-
github: () => api._get(`${appUrl}/deploy/github/repositories/${repoId}/branches`)
259+
repositories: () => ({
260+
repository: repoId => ({
261+
github: () => ({
262+
branches: () => ({
263+
list: () => api._get(`${appUrl}/deploy/github/repositories/${repoId}/branches`)
264+
})
263265
})
264266
})
265267
}),

0 commit comments

Comments
 (0)