Update pushlog-addon to use buildhub2 (#7) (#8)

This commit is contained in:
Will Kahn-Greene 2019-07-04 11:47:42 -04:00 коммит произвёл calixteman
Родитель 240a888174
Коммит 251168d90b
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -118,7 +118,7 @@ function getPushlogUrl(last, prev, channel) {
} }
async function getBuildInfo(buildid) { async function getBuildInfo(buildid) {
const url = "https://buildhub.prod.mozaws.net/v1/buckets/build-hub/collections/releases/search"; const url = "https://buildhub.moz.tools/api/search";
const query = { const query = {
"aggs": { "aggs": {
"products": { "products": {

Просмотреть файл

@ -32,7 +32,7 @@
} }
], ],
"permissions": [ "permissions": [
"https://buildhub.prod.mozaws.net/*", "https://buildhub.moz.tools/*",
"contextMenus", "contextMenus",
"tabs" "tabs"
] ]