aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js')
-rw-r--r--server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js b/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
index 3d3a550a877..1338212736a 100644
--- a/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
+++ b/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
@@ -24,11 +24,11 @@ import Backbone from 'backbone';
export default Backbone.Model.extend({
idAttribute: 'id',
- urlRoot () {
+ urlRoot() {
return window.baseUrl + '/api/custom_measures';
},
- sync (method, model, options) {
+ sync(method, model, options) {
const opts = options || {};
if (method === 'create') {
defaults(opts, {
@@ -54,4 +54,3 @@ export default Backbone.Model.extend({
return Backbone.ajax(opts);
}
});
-