зеркало из https://github.com/mozilla/treeherder.git
Switch front-end to use /push/ endpoint (#4514)
This commit is contained in:
Родитель
c91ea4ae7a
Коммит
c32f673bfc
|
@ -14,7 +14,7 @@ describe('Pushes context', () => {
|
|||
|
||||
beforeEach(() => {
|
||||
fetchMock.get(
|
||||
getProjectUrl('/resultset/?full=true&count=10', repoName),
|
||||
getProjectUrl('/push/?full=true&count=10', repoName),
|
||||
pushListFixture,
|
||||
);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ export const deployedRevisionUrl = '/revision.txt';
|
|||
|
||||
export const loginCallbackUrl = '/login.html';
|
||||
|
||||
export const pushEndpoint = '/resultset/';
|
||||
export const pushEndpoint = '/push/';
|
||||
|
||||
export const repoEndpoint = '/repository/';
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ export const actions = {
|
|||
type: types.FETCH_COUNTS,
|
||||
meta: {
|
||||
type: 'api',
|
||||
url: `/resultset/${pushId}/status/`,
|
||||
url: `/push/${pushId}/status/`,
|
||||
repoName,
|
||||
method: 'GET',
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче