diff --git a/app/assets/javascripts/discourse/models/category.js b/app/assets/javascripts/discourse/models/category.js index b0ac00f0655..f46fa979728 100644 --- a/app/assets/javascripts/discourse/models/category.js +++ b/app/assets/javascripts/discourse/models/category.js @@ -33,7 +33,7 @@ Discourse.Category = Discourse.Model.extend({ text_color: this.get('text_color'), hotness: this.get('hotness') }, - type: this.get('id') ? 'PUT' : 'POST', + type: this.get('id') ? 'PUT' : 'POST' }); },