treeherder/ui/models/bugSuggestions.js

10 строки
230 B
JavaScript

import { getProjectJobUrl } from '../helpers/location';
export default class BugSuggestionsModel {
static get(jobId) {
return fetch(getProjectJobUrl('/bug_suggestions/', jobId)).then(resp =>
resp.json(),
);
}
}