treeherder/ui/models/bugSuggestions.js

9 строки
220 B
JavaScript

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