Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Commit

Permalink
Fixes bug 1028709 - Migrate bugsy to the new bugzilla REST API. r=Pike
Browse files Browse the repository at this point in the history
  • Loading branch information
adngdb committed Oct 29, 2014
1 parent 93744ca commit ab14f85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/bugsy/static/bugsy/js/bugcount.js
Expand Up @@ -7,7 +7,7 @@ var BugPuller = (function(code) {
var parent = $('#bugzilla');

function getURL(suffix) {
return 'https://api-dev.bugzilla.mozilla.org/1.3/' + suffix;
return 'https://bugzilla.mozilla.org/rest/' + suffix;
}

function getData() {
Expand Down Expand Up @@ -96,7 +96,7 @@ var BugPuller = (function(code) {
};

$.ajax({
url: getURL('bug'),
url: getURL('bug'),
data: details,
dataType: 'json',
success: BugPuller.render,
Expand All @@ -112,7 +112,7 @@ var BugPuller = (function(code) {
},
pull: function() {
$.ajax({
url: getURL('bug'),
url: getURL('bug'),
data: getData(),
dataType: 'json',
success: BugPuller.pre_render,
Expand Down

0 comments on commit ab14f85

Please sign in to comment.