discourse-chat-integration/assets/javascripts/admin/models/channel.js.es6

12 lines
235 B
JavaScript

import RestModel from 'discourse/models/rest';
export default RestModel.extend({
updateProperties() {
return this.getProperties(['data']);
},
createProperties() {
return this.getProperties(['provider','data']);
}
});